mu4e: remove keybindings from mu4e-context-minor-mode

They interfered with the major modes (in particular the undefine hack
needed in mu4e-compose).

Fixes #2402.
This commit is contained in:
Dirk-Jan C. Binnema
2023-01-07 17:12:01 +02:00
parent 441c450004
commit 1e018ee1fc
4 changed files with 9 additions and 14 deletions

View File

@ -916,16 +916,17 @@ after the end of the search results."
(setq mu4e-headers-mode-map
(let ((map (make-sparse-keymap)))
(define-key map "j" 'mu4e~headers-jump-to-maildir)
(define-key map "j" #'mu4e~headers-jump-to-maildir)
(define-key map "q" 'mu4e~headers-quit-buffer)
(define-key map "g" 'mu4e-search-rerun) ;; for compatibility
(define-key map "q" #'mu4e~headers-quit-buffer)
(define-key map "g" #'mu4e-search-rerun) ;; for compatibility
(define-key map "%" 'mu4e-headers-mark-pattern)
(define-key map "t" 'mu4e-headers-mark-subthread)
(define-key map "T" 'mu4e-headers-mark-thread)
(define-key map "%" #'mu4e-headers-mark-pattern)
(define-key map "t" #'mu4e-headers-mark-subthread)
(define-key map "T" #'mu4e-headers-mark-thread)
(define-key map "," #'mu4e-sexp-at-point)
(define-key map ";" #'mu4e-context-switch)
;; navigation between messages
(define-key map "p" 'mu4e-headers-prev)