mu4e: update the version check for mu4e-compose-goto-*

These bindings were recently re-added to mu4e in 1.12.2 so we don't need
to define them ourselves anymore for that version and later.
This commit is contained in:
StrawberryTea 2024-03-17 15:03:31 -05:00 committed by Youmu
parent cf7c7f142a
commit 99fd054f80
1 changed files with 7 additions and 5 deletions

View File

@ -96,7 +96,9 @@
;; These functions were removed from mu4e 1.12.0, specifically this commit:
;; https://github.com/djcb/mu/commit/85bfe763362b95935a3967f6585e14b3f9890a70
(when (version<= "1.12.0" mu4e-mu-version)
;; They were also re-added in version 1.12.2.
(when (and (version<= "1.12.0" mu4e-mu-version)
(version< mu4e-mu-version "1.12.2"))
(defun mu4e-compose-goto-top ()
"Go to the beginning of the message or buffer.
Go to the beginning of the message or, if already there, go to the