1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

Add a comment about a recent change

This commit is contained in:
John Wiegley 2016-02-09 19:33:09 -05:00
parent 416096bfdc
commit 543935482f

View File

@ -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))))