X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-jump.el;h=20e24b252630fe2992092cbeac8e8f606f27f1c9;hp=0193f8cd7064436efb73f13da4ea798668cbfef0;hb=110694b00b79793b3c09a0349c0ff7608df551d6;hpb=5c4f6ed99bd10fa26162c46601714141adeb3fb5 diff --git a/emacs/notmuch-jump.el b/emacs/notmuch-jump.el index 0193f8cd..20e24b25 100644 --- a/emacs/notmuch-jump.el +++ b/emacs/notmuch-jump.el @@ -25,9 +25,10 @@ (require 'notmuch-lib) (require 'notmuch-hello) -(unless (fboundp 'window-body-width) - ;; Compatibility for Emacs pre-24 - (defalias 'window-body-width 'window-width)) +(eval-and-compile + (unless (fboundp 'window-body-width) + ;; Compatibility for Emacs pre-24 + (defalias 'window-body-width 'window-width))) ;;;###autoload (defun notmuch-jump-search () @@ -169,3 +170,7 @@ buffer." (setq notmuch-jump--action ',(third action)) (exit-minibuffer)))) map)) + +;; + +(provide 'notmuch-jump)