mu4e-window: update derived-mode-p call

Don't use the deprecated calling convention
This commit is contained in:
Dirk-Jan C. Binnema 2023-11-30 19:05:34 +02:00
parent dcd3fbb41a
commit 14d9f7ccce
1 changed files with 1 additions and 1 deletions

View File

@ -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)