[Top][All Lists]

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

[elpa] externals/consult 96545c9: Improve docstrings

From: ELPA Syncer
Subject: [elpa] externals/consult 96545c9: Improve docstrings
Date: Sun, 14 Nov 2021 08:57:11 -0500 (EST)

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

    Improve docstrings
 consult.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/consult.el b/consult.el
index 414aed0..d1c0c7d 100644
--- a/consult.el
+++ b/consult.el
@@ -978,8 +978,8 @@ If TRANSFORM non-nil, return transformed CAND, otherwise 
return title."
       (car (get-text-property 0 'consult-location cand))))))
 (defun consult--line-prefix (&optional curr-line)
-  "Annotate `consult-location' candidates with line numbers given the current 
+  "Annotate `consult-location' candidates with line numbers.
+CURR-LINE is the current line number."
   (setq curr-line (or curr-line -1))
   (let* ((width (length (number-to-string (line-number-at-pos
@@ -1282,8 +1282,8 @@ candidate argument can be nil if the selection has been 
 ;;;; Narrowing support
 (defun consult--widen-key ()
-  "Return widening key, if `consult-widen-key' is not set, defaults to twice
+  "Return widening key, if `consult-widen-key' is not set.
+The default is twice the `consult-narrow-key'."
   (or consult-widen-key (and consult-narrow-key (vconcat consult-narrow-key 
 (defun consult-narrow (key)

reply via email to

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