summaryrefslogtreecommitdiff
path: root/lisp/use-package/use-package.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2015-03-16 03:25:21 -0500
committerJohn Wiegley <johnw@newartisans.com>2015-03-16 03:25:21 -0500
commit21a091f17a49175339b45efa422a1ab2e2cf8a45 (patch)
tree45cf8edd1caf26b33c471390051da30dd4326dbb /lisp/use-package/use-package.el
parent05c02aee865762ef7b5dd1a3a39df7b3c4f29606 (diff)
downloademacs-21a091f17a49175339b45efa422a1ab2e2cf8a45.tar.gz
emacs-21a091f17a49175339b45efa422a1ab2e2cf8a45.tar.bz2
emacs-21a091f17a49175339b45efa422a1ab2e2cf8a45.zip
Collapse some whitespace
Diffstat (limited to 'lisp/use-package/use-package.el')
-rw-r--r--lisp/use-package/use-package.el8
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))