mirror of https://github.com/djcb/mu.git
mu4e-view: assign gnus-article-buffer in mu4e-view-mode
Some external programs (such as bbdb) seems to depend on that.
This commit is contained in:
parent
cfd327b98c
commit
d2d9585f75
|
@ -1057,6 +1057,10 @@ Based on Gnus' article-mode."
|
||||||
(lambda(func &rest args)
|
(lambda(func &rest args)
|
||||||
(if (mu4e--view-mode-p)
|
(if (mu4e--view-mode-p)
|
||||||
"." (apply func args))))
|
"." (apply func args))))
|
||||||
|
|
||||||
|
;; some external tools (bbdb) depend on this
|
||||||
|
(setq gnus-article-buffer (current-buffer))
|
||||||
|
|
||||||
(use-local-map mu4e-view-mode-map)
|
(use-local-map mu4e-view-mode-map)
|
||||||
(mu4e-context-minor-mode)
|
(mu4e-context-minor-mode)
|
||||||
(mu4e-search-minor-mode)
|
(mu4e-search-minor-mode)
|
||||||
|
|
Loading…
Reference in New Issue