From: Dave Abrahams Date: Mon, 2 Dec 2013 18:44:28 +0000 (-0800) Subject: Backward compatibility with emacs-22.1 X-Git-Tag: emacs-29.0.90~1306^2~15^2~431^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f3e9e871a6;p=emacs.git Backward compatibility with emacs-22.1 This change supports the emacs that ships with MacOS X, the last version not encumbered by GPLv3. --- diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index f91be03b22b..03bec74602a 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -261,7 +261,8 @@ (require 'bytecomp) (require 'diminish nil t) -(declare-function package-installed-p 'package) +(when fboundp 'declare-function + (declare-function package-installed-p 'package)) (defgroup use-package nil "A use-package declaration for simplifying your `.emacs'."