From: John Wiegley Date: Wed, 10 Feb 2016 00:33:09 +0000 (-0500) Subject: Add a comment about a recent change X-Git-Tag: emacs-29.0.90~1306^2~15^2~314 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=543935482f1d7a6dddcff9fc6da5b930c3b976e7;p=emacs.git Add a comment about a recent change --- 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))))