mirror of https://github.com/djcb/mu.git
mu4e-window: update derived-mode-p call
Don't use the deprecated calling convention
This commit is contained in:
parent
dcd3fbb41a
commit
14d9f7ccce
|
@ -152,7 +152,7 @@ tested."
|
|||
|
||||
(defun mu4e--get-current-buffer-type ()
|
||||
"Return an internal symbol that corresponds to each mu4e major mode."
|
||||
(cond ((derived-mode-p 'mu4e-view-mode 'mu4e-raw-view-mode) 'view)
|
||||
(cond ((derived-mode-p '(mu4e-view-mode mu4e-raw-view-mode)) 'view)
|
||||
((derived-mode-p 'mu4e-headers-mode) 'headers)
|
||||
((derived-mode-p 'mu4e-compose-mode) 'compose)
|
||||
((derived-mode-p 'mu4e-main-mode) 'main)
|
||||
|
|
Loading…
Reference in New Issue