diff options
Diffstat (limited to 'lisp/use-package/use-package.el')
-rw-r--r-- | lisp/use-package/use-package.el | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index b7ef29aae0e..3f51372f055 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -607,12 +607,8 @@ deferred until the prefix key sequence is pressed." "Pin PACKAGE to ARCHIVE." (unless (boundp 'package-pinned-packages) (setq package-pinned-packages ())) - (let ((archive-symbol (if (symbolp archive) - archive - (intern archive))) - (archive-name (if (stringp archive) - archive - (symbol-name archive)))) + (let ((archive-symbol (if (symbolp archive) archive (intern archive))) + (archive-name (if (stringp archive) archive (symbol-name archive)))) (if (use-package--archive-exists-p archive-symbol) (add-to-list 'package-pinned-packages (cons package archive-name)) |