mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Switch from require' to load' + `featurep'
This commit is contained in:
parent
27fd32c47b
commit
4c8d5f0b21
1 changed files with 2 additions and 1 deletions
|
|
@ -651,7 +651,8 @@ extending any keys already present."
|
|||
,(when (eq use-package-verbose 'debug)
|
||||
`(message ,(format "Compiling package %s" name-string)))
|
||||
,(unless (plist-get args :no-require)
|
||||
`(require ',name-symbol)))))))))
|
||||
`(unless (featurep ',name-symbol)
|
||||
(load ,name-string nil t))))))))))
|
||||
|
||||
;; Certain keywords imply :defer, if :demand was not specified.
|
||||
(when (and (not (plist-member args :demand))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue