diff options
| author | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2023-11-09 21:16:35 +0200 |
|---|---|---|
| committer | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2023-11-09 21:17:09 +0200 |
| commit | d2d9585f756259fda1c05fe6c9c25b9bf3d7679b (patch) | |
| tree | b0391774ce36af06b9a8d3e20a7dbce499d87c5b | |
| parent | cfd327b98c964c2d186eb7ef97389da67bd84375 (diff) | |
mu4e-view: assign gnus-article-buffer in mu4e-view-mode
Some external programs (such as bbdb) seems to depend on that.
| -rw-r--r-- | mu4e/mu4e-view.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el index 831cd98..c09d17f 100644 --- a/mu4e/mu4e-view.el +++ b/mu4e/mu4e-view.el @@ -1057,6 +1057,10 @@ Based on Gnus' article-mode." (lambda(func &rest args) (if (mu4e--view-mode-p) "." (apply func args)))) + + ;; some external tools (bbdb) depend on this + (setq gnus-article-buffer (current-buffer)) + (use-local-map mu4e-view-mode-map) (mu4e-context-minor-mode) (mu4e-search-minor-mode) |
