mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 03:39:38 +00:00
Merge pull request from bdd/master
Remove trailing whitespace GitHub-reference: https://github.com/jwiegley/use-package/issues/14
This commit is contained in:
commit
447004740c
1 changed files with 5 additions and 5 deletions
|
@ -323,11 +323,11 @@
|
||||||
(defmacro use-package (name &rest args)
|
(defmacro use-package (name &rest args)
|
||||||
"Use a package with configuration options.
|
"Use a package with configuration options.
|
||||||
|
|
||||||
For full documentation. please see commentary.
|
For full documentation. please see commentary.
|
||||||
|
|
||||||
(use-package package-name
|
(use-package package-name
|
||||||
:keyword option)
|
:keyword option)
|
||||||
|
|
||||||
:init Code to run when `use-package' form evals.
|
:init Code to run when `use-package' form evals.
|
||||||
:bind Perform key bindings, and define autoload for bound
|
:bind Perform key bindings, and define autoload for bound
|
||||||
commands.
|
commands.
|
||||||
|
@ -372,13 +372,13 @@ For full documentation. please see commentary.
|
||||||
;; force this immediately -- one off cost
|
;; force this immediately -- one off cost
|
||||||
(unless (plist-get args :disabled)
|
(unless (plist-get args :disabled)
|
||||||
(let* ((ensure (plist-get args :ensure))
|
(let* ((ensure (plist-get args :ensure))
|
||||||
(package-name
|
(package-name
|
||||||
(or (and (eq ensure t)
|
(or (and (eq ensure t)
|
||||||
name)
|
name)
|
||||||
ensure)))
|
ensure)))
|
||||||
(when package-name
|
(when package-name
|
||||||
(use-package-ensure-elpa package-name)))
|
(use-package-ensure-elpa package-name)))
|
||||||
|
|
||||||
|
|
||||||
(if diminish-var
|
(if diminish-var
|
||||||
(setq config-body
|
(setq config-body
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue