mu4e: get rid of mu4e-is-mode-or-derived-p

derived-mode-p is enough
This commit is contained in:
Dirk-Jan C. Binnema
2023-12-06 20:30:47 +02:00
parent 8bdf6b42a2
commit 8c1466773f
2 changed files with 2 additions and 6 deletions

View File

@ -518,10 +518,6 @@ in an external program."
(lambda () (ignore-errors (delete-file tmpfile))))
tmpfile))
(defsubst mu4e-is-mode-or-derived-p (mode)
"Is the current mode equal to MODE or derived from it?"
(or (eq major-mode mode) (derived-mode-p mode)))
(defun mu4e-display-manual ()
"Display the mu4e manual page for the current mode.
Or go to the top level if there is none."