diff options
| -rw-r--r-- | custom/jao-custom-notmuch.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el index c2f6a85..49230e8 100644 --- a/custom/jao-custom-notmuch.el +++ b/custom/jao-custom-notmuch.el @@ -23,7 +23,8 @@ (defun jao-notmuch-hammerspoon () (jao-when-darwin (let ((s (substring-no-properties jao-notmuch-minibuffer-string))) - (jao-mac-open "-g hammerspoon://menu?message=%s" (url-hexify-string s))))) + (jao-mac-open "-g 'hammerspoon://menu?message=%s&key=notmuch'" + (url-hexify-string s))))) (defun jao-notmuch--qstr (c) (propertize (format "%s%s" (plist-get c :name) (plist-get c :count)) @@ -742,7 +743,9 @@ (with-eval-after-load "notmuch-hello" (define-key notmuch-hello-mode-map "f" #'jao-consult-notmuch-folder))) ;;; org -(when jao-notmuch-enabled (jao-notmuch-org-links)) +(when jao-notmuch-enabled + (require 'jao-notmuch) + (jao-notmuch-org-links)) ;;; recoll (jao-when-linux |
