]> git.eshelyaron.com Git - emacs.git/commit
assume the declare-function macro exists
authorJonas Bernoulli <jonas@bernoul.li>
Sun, 7 Sep 2014 12:43:56 +0000 (14:43 +0200)
committerJonas Bernoulli <jonas@bernoul.li>
Sun, 7 Sep 2014 12:43:56 +0000 (14:43 +0200)
commit31bb0cde56785731398b59af5cb0b48b016fcd36
tree9470865fd257d661b1466730d06826e1f82f56dd
parent91953b08e0709af6623228dc489721d75c53d77a
assume the declare-function macro exists

Since `declare-function' was added in Emacs 23.1 (five years ago), we
don't need to assert that it is defined.  If the assertion was without
any problems there would be no harm in keeping it, but unfortunately it
causes a compile warning.  Because `declare-function' is a macro with
always expands to `nil' the value of (fboundp 'declare-function) ends
up being unused.
lisp/use-package/use-package.el