* mu4e/mu4e-main.el (mu4e-main-mode): `revert-buffer-function' should be local.
This commit is contained in:
@ -64,11 +64,9 @@
|
|||||||
"Major mode for the mu4e main screen.
|
"Major mode for the mu4e main screen.
|
||||||
\\{mu4e-main-mode-map}."
|
\\{mu4e-main-mode-map}."
|
||||||
(use-local-map mu4e-main-mode-map)
|
(use-local-map mu4e-main-mode-map)
|
||||||
(setq
|
(setq truncate-lines t
|
||||||
truncate-lines t
|
overwrite-mode 'overwrite-mode-binary)
|
||||||
overwrite-mode 'overwrite-mode-binary
|
(set (make-local-variable 'revert-buffer-function) #'mu4e:main-revert-buffer))
|
||||||
revert-buffer-function 'mu4e:main-revert-buffer
|
|
||||||
))
|
|
||||||
|
|
||||||
|
|
||||||
(defun mu4e~main-action-str (str &optional func-or-shortcut)
|
(defun mu4e~main-action-str (str &optional func-or-shortcut)
|
||||||
|
|||||||
Reference in New Issue
Block a user