mu4e: emacs 28.1 modernization

We can now use setq-local, length>, string-empty-p, affixations
functions and "choice" defcustoms.
This commit is contained in:
Dirk-Jan C. Binnema
2026-05-25 20:24:37 +03:00
committed by Seth Ladygo
parent dca5334295
commit cbe64d4cae
10 changed files with 79 additions and 58 deletions

View File

@ -721,7 +721,7 @@ shorter keys in some cases where there are multiple bindings."
;; not a perfect heuristic: e.g. '<up>' is longer that 'C-p'
(car-safe
(seq-sort (lambda (b1 b2)
(< (length b1) (length b2)))
(length< b1 (length b2)))
(seq-map #'key-description
(where-is-internal cmd)))))