summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2014-09-08 16:06:16 +0100
committerJohn Wiegley <johnw@newartisans.com>2014-09-08 16:06:16 +0100
commit4cf50ffbca9cc660f166ef09eec13f9318f77e80 (patch)
tree9470865fd257d661b1466730d06826e1f82f56dd
parent91953b08e0709af6623228dc489721d75c53d77a (diff)
parent31bb0cde56785731398b59af5cb0b48b016fcd36 (diff)
downloademacs-4cf50ffbca.tar.gz
Merge pull request from tarsius/master
assume the declare-function macro exists GitHub-reference: https://github.com/jwiegley/use-package/issues/123
-rw-r--r--lisp/use-package/use-package.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el
index 7b370380d4b..7e4738fc9fe 100644
--- a/lisp/use-package/use-package.el
+++ b/lisp/use-package/use-package.el
@@ -41,8 +41,7 @@
(require 'bytecomp)
(require 'diminish nil t)
-(when (fboundp 'declare-function)
- (declare-function package-installed-p 'package))
+(declare-function package-installed-p 'package)
(defgroup use-package nil
"A use-package declaration for simplifying your `.emacs'."