From: Austin Clements Date: Wed, 8 Aug 2012 21:40:10 +0000 (-0400) Subject: emacs: Fix "not defined at runtime" warning X-Git-Tag: 0.14~13 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=07b5f97202c840d97bd9f53c62c4192a6b0adf30 emacs: Fix "not defined at runtime" warning Previously, the Emacs byte compiler produced the warning the function `remove-if-not' might not be defined at runtime. because we only required cl at compile-time (not runtime). This fixes this warning by requiring cl at runtime, ensuring that the definition of remove-if-not is available. --- diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index 30db58ff..900235bc 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -24,7 +24,7 @@ (require 'mm-view) (require 'mm-decode) (require 'json) -(eval-when-compile (require 'cl)) +(require 'cl) (defvar notmuch-command "notmuch" "Command to run the notmuch binary.")