]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-lib.el
emacs: prefer notmuch-emacs-version in User-Agent: header
[notmuch] / emacs / notmuch-lib.el
index e16a1b971bd5e29bb3b78ba9f3a823c0b39acb85..201d7ec8593f376c1ae9f20a3671eff52535e4bc 100644 (file)
 (require 'mm-decode)
 (require 'cl)
 
+(unless (require 'notmuch-version nil t)
+  (defconst notmuch-emacs-version "unknown"
+    "Placeholder variable when notmuch-version.el[c] is not available."))
+
 (autoload 'notmuch-jump-search "notmuch-jump"
   "Jump to a saved search by shortcut key." t)