summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-11-21 07:59:14 -0500
committerKjetil Orbekk <kj@orbekk.com>2023-11-21 08:00:04 -0500
commitadd93c0d9f4cd29b6efdf670e3c1bbcf78a1298b (patch)
treeb3a9d0adfe21fd98c587b0f6eb91ce7dc1966d8c
parentcff5aadab74f3d129c70f6280c910fb703ac724c (diff)
update mail bindings
-rw-r--r--emacs/.config/emacs-kj/lisp/kj-email.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.config/emacs-kj/lisp/kj-email.el b/emacs/.config/emacs-kj/lisp/kj-email.el
index 2aa2659..6acf3b8 100644
--- a/emacs/.config/emacs-kj/lisp/kj-email.el
+++ b/emacs/.config/emacs-kj/lisp/kj-email.el
@@ -28,7 +28,7 @@
(keyboard-quit)))
(add-hook 'message-send-hook #'kj/confirm-empty-subject)
(advice-add
- 'notmuch :before (defun kj/notmuch-switch-to-local ()
+ 'message-send :before (defun kj/notmuch-switch-to-local (&args)
(when (file-remote-p default-directory)
(cd (expand-file-name "~")))))
(setq notmuch-saved-searches