]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-jump.el
lib/open: Use check for existing database by trial opening
[notmuch] / emacs / notmuch-jump.el
index 51bc4e31f8b78c2918625de2710d41bb8075e174..6fab5a792ec6b4da7daaacd2ad789653403b49ad 100644 (file)
 
 ;;; Code:
 
-(eval-when-compile
-  (require 'cl-lib)
-  (require 'pcase))
-
 (require 'notmuch-lib)
 (require 'notmuch-hello)
 
@@ -63,8 +59,8 @@ fast way to jump to a saved search from anywhere in Notmuch."
     (setq action-map (nreverse action-map))
     (if action-map
        (notmuch-jump action-map "Search: ")
-      (error "To use notmuch-jump, \
-please customize shortcut keys in notmuch-saved-searches."))))
+      (error "To use notmuch-jump, %s"
+            "please customize shortcut keys in notmuch-saved-searches."))))
 
 (defvar notmuch-jump--action nil)