- eshell: it seems that eshell-hist-mode-map is new in 27
- mm-uu: :extend is new in 27. trying to use it pre 27 causes severe
breakage of ERC among other things
("C-S-l" . b/eshell-clear)
("M-r" . counsel-esh-history)
;; ([tab] . company-complete)
("C-S-l" . b/eshell-clear)
("M-r" . counsel-esh-history)
;; ([tab] . company-complete)
- :map eshell-hist-mode-map
- ("M-r" . counsel-esh-history)))
+ )
+ (if (version< "27" emacs-version)
+ (bind-keys :map eshell-hist-mode-map
+ ("M-r" . counsel-esh-history))
+ (bind-keys :map eshell-mode-map
+ ("M-r" . counsel-esh-history))))
:hook (eshell-mode . b/eshell-setup)
:custom
:hook (eshell-mode . b/eshell-setup)
:custom
(use-package mm-uu
:config
(use-package mm-uu
:config
- (set-face-attribute 'mm-uu-extract nil :extend t)
+ (when (version< "27" emacs-version)
+ (set-face-attribute 'mm-uu-extract nil :extend t))
:custom
(mm-uu-diff-groups-regexp
"\\(gmane\\|gnu\\|l\\)\\..*\\(diff\\|commit\\|cvs\\|bug\\|dev\\)"))
:custom
(mm-uu-diff-groups-regexp
"\\(gmane\\|gnu\\|l\\)\\..*\\(diff\\|commit\\|cvs\\|bug\\|dev\\)"))