mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-11 14:01:43 -08:00
Use-package now accepts function as argument
This commit is contained in:
parent
fe7997d2b7
commit
8b93cee99b
1 changed files with 6 additions and 3 deletions
|
|
@ -392,9 +392,12 @@
|
|||
,(if (file-name-absolute-p path)
|
||||
path
|
||||
(expand-file-name path user-emacs-directory))))
|
||||
(if (stringp pkg-load-path)
|
||||
(list pkg-load-path)
|
||||
pkg-load-path))
|
||||
(cond ((stringp pkg-load-path)
|
||||
(list pkg-load-path))
|
||||
((functionp pkg-load-path)
|
||||
(funcall pkg-load-path))
|
||||
(t
|
||||
pkg-load-path)))
|
||||
|
||||
(when byte-compile-current-file
|
||||
,@defines-eval
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue