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.
This commit is contained in:
Austin Clements 2012-08-08 17:40:10 -04:00 committed by David Bremner
parent 6b820673fc
commit 07b5f97202

View file

@ -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.")