From f9bb7aa5fd99f149ef7edacfd94f8d5e70cc518e Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Fri, 20 Oct 2023 09:33:21 -0400 Subject: fixes --- emacs/.config/emacs-kj/init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'emacs/.config/emacs-kj') diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el index 24a3a6b..67660b4 100644 --- a/emacs/.config/emacs-kj/init.el +++ b/emacs/.config/emacs-kj/init.el @@ -79,7 +79,8 @@ (dolist (mode '(calendar-mode-hook eshell-mode-hook term-mode-hook - comint-mode-hook)) + comint-mode-hook + notmuch-show-mode)) (add-hook mode (lambda (&rest args) (setq show-trailing-whitespace nil)))) @@ -693,6 +694,9 @@ (load-file google-config-file))) (define-key isearch-mode-map (kbd "C-RET") + #'isearch-exit-other-end) +;; Why does C-RET not always work? +(define-key isearch-mode-map (kbd "C-") #'isearch-exit-other-end) (defun isearch-exit-other-end () "Exit isearch, at the opposite end of the string." -- cgit v1.2.3