summaryrefslogtreecommitdiff
path: root/lisp/use-package
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2017-12-04 09:31:13 -0800
committerJohn Wiegley <johnw@newartisans.com>2017-12-04 09:31:13 -0800
commitac906479a782c5eedd2662fe4f65aa3ac6d3489c (patch)
tree03ff0676ecd78938b79f00bd36c9d29fe53f09a4 /lisp/use-package
parent0239ee227a5d40a13430843f61eea4f57afc2c7e (diff)
downloademacs-ac906479a782c5eedd2662fe4f65aa3ac6d3489c.tar.gz
emacs-ac906479a782c5eedd2662fe4f65aa3ac6d3489c.tar.bz2
emacs-ac906479a782c5eedd2662fe4f65aa3ac6d3489c.zip
Normalize some whitespace and ordering in new code
Diffstat (limited to 'lisp/use-package')
-rw-r--r--lisp/use-package/bind-chord.el1
-rw-r--r--lisp/use-package/use-package-chords.el5
-rw-r--r--lisp/use-package/use-package-ensure-system-package.el5
3 files changed, 7 insertions, 4 deletions
diff --git a/lisp/use-package/bind-chord.el b/lisp/use-package/bind-chord.el
index e0827a4230f..35634b174a3 100644
--- a/lisp/use-package/bind-chord.el
+++ b/lisp/use-package/bind-chord.el
@@ -58,4 +58,5 @@ function symbol (unquoted)."
key-bindings)))))
(provide 'bind-chord)
+
;;; bind-chord.el ends here
diff --git a/lisp/use-package/use-package-chords.el b/lisp/use-package/use-package-chords.el
index f3e85b4149a..023a9c6b2ad 100644
--- a/lisp/use-package/use-package-chords.el
+++ b/lisp/use-package/use-package-chords.el
@@ -23,8 +23,6 @@
(require 'use-package)
(require 'bind-chord)
-(add-to-list 'use-package-keywords :chords t)
-
(defalias 'use-package-normalize/:chords 'use-package-normalize-binder)
(defun use-package-handler/:chords (name keyword arg rest state)
@@ -44,5 +42,8 @@
`(bind-chords :package ,name ,@arg)))))))
(use-package-handler/:preface name keyword chord-binder rest state)))
+(add-to-list 'use-package-keywords :chords t)
+
(provide 'use-package-chords)
+
;;; use-package-chords.el ends here
diff --git a/lisp/use-package/use-package-ensure-system-package.el b/lisp/use-package/use-package-ensure-system-package.el
index e34bb16d738..b8fd19d830b 100644
--- a/lisp/use-package/use-package-ensure-system-package.el
+++ b/lisp/use-package/use-package-ensure-system-package.el
@@ -22,8 +22,6 @@
(require 'use-package)
(require 'system-packages)
-(add-to-list 'use-package-keywords :ensure-system-package t)
-
(defun use-package-ensure-system-package-install-command (pack)
"Return the default install command for `pack'."
(let ((command
@@ -66,5 +64,8 @@
(async-shell-command ,(cdr cons)))) arg)
body)))
+(add-to-list 'use-package-keywords :ensure-system-package t)
+
(provide 'use-package-ensure-system-package)
+
;;; use-package-ensure-system-package.el ends here