summaryrefslogtreecommitdiff
path: root/emacs/.config
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.config')
-rw-r--r--emacs/.config/emacs-kj/init.el6
1 files changed, 5 insertions, 1 deletions
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-<return>")
#'isearch-exit-other-end)
(defun isearch-exit-other-end ()
"Exit isearch, at the opposite end of the string."