X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-jump.el;h=05ec57ec5e13aeb2071f5a2a9282ad63bb3af793;hp=0193f8cd7064436efb73f13da4ea798668cbfef0;hb=4e2c351c588ad74f4800ca0344232be90387c54a;hpb=5c4f6ed99bd10fa26162c46601714141adeb3fb5 diff --git a/emacs/notmuch-jump.el b/emacs/notmuch-jump.el index 0193f8cd..05ec57ec 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 ()