Use functions instead of lambdas in add-hook calls
This commit is contained in:
@ -1136,7 +1136,8 @@ no user-interaction ongoing."
|
||||
;; maybe update the current headers upon indexing changes
|
||||
(add-hook 'mu4e-index-updated-hook 'mu4e~headers-maybe-auto-update)
|
||||
(add-hook 'mu4e-index-updated-hook
|
||||
(lambda() (run-hooks 'mu4e-message-changed-hook)) t)
|
||||
#'mu4e~headers-index-updated-hook-fn
|
||||
t)
|
||||
(setq
|
||||
truncate-lines t
|
||||
buffer-undo-list t ;; don't record undo information
|
||||
@ -1146,6 +1147,9 @@ no user-interaction ongoing."
|
||||
(mu4e~mark-initialize) ;; initialize the marking subsystem
|
||||
(hl-line-mode 1))
|
||||
|
||||
(defun mu4e~headers-index-updated-hook-fn ()
|
||||
(run-hooks 'mu4e-message-changed-hook))
|
||||
|
||||
;;; Highlighting
|
||||
|
||||
(defvar mu4e~highlighted-docid nil
|
||||
|
||||
Reference in New Issue
Block a user