emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/consult 3226c1a01e: Expand docstring of consult-customi


From: ELPA Syncer
Subject: [elpa] externals/consult 3226c1a01e: Expand docstring of consult-customize
Date: Thu, 20 Oct 2022 17:57:25 -0400 (EDT)

branch: externals/consult
commit 3226c1a01e0a2a4352b2c885b8f4eb22610d99af
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Expand docstring of consult-customize
---
 consult.el | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/consult.el b/consult.el
index 1f0d360a1c..87bb070347 100644
--- a/consult.el
+++ b/consult.el
@@ -544,9 +544,12 @@ We use invalid characters outside the Unicode range.")
 
 (defmacro consult-customize (&rest args)
   "Set properties of commands or sources.
-ARGS is a list of commands or sources followed by the list of keyword-value
-pairs."
-  (let ((setter))
+ARGS is a list of commands or sources followed by the list of
+keyword-value pairs. For `consult-customize' to succeed, the
+customized sources and commands must exist. When a command is
+invoked, the value of `this-command' is used to lookup the
+corresponding customization options."
+  (let (setter)
     (while args
       (let ((cmds (seq-take-while (lambda (x) (not (keywordp x))) args)))
         (setq args (seq-drop-while (lambda (x) (not (keywordp x))) args))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]