summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2016-02-09 19:33:09 -0500
committerJohn Wiegley <johnw@newartisans.com>2016-02-09 19:33:09 -0500
commit543935482f1d7a6dddcff9fc6da5b930c3b976e7 (patch)
treeac55d1095c4f4bec66d6dc75334d5f12b0fbd83a
parent416096bfdc9d47283492c6361d7d36466384352b (diff)
downloademacs-543935482f.tar.gz
Add a comment about a recent change
-rw-r--r--lisp/use-package/use-package.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el
index d106ef2e20b..cf5b2814d45 100644
--- a/lisp/use-package/use-package.el
+++ b/lisp/use-package/use-package.el
@@ -659,7 +659,12 @@ manually updated package."
(defun use-package-normalize-pairs
(name label arg &optional recursed allow-vector allow-string-cdrs)
- "Normalize a list of string/symbol pairs."
+ "Normalize a list of string/symbol pairs.
+If RECURSED is non-nil, recurse into sublists.
+If ALLOW-VECTOR is non-nil, then the key to bind may specify a
+vector of keys, as accepted by `define-key'.
+If ALLOW-STRING-CDRS is non-nil, then the command name to bind to
+may also be a string, as accepted by `define-key'."
(cond
((or (stringp arg) (and allow-vector (vectorp arg)))
(list (cons arg (use-package-as-symbol name))))