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

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

[elpa] externals/corfu 0741292f0a 2/2: corfu-history: Expand docstring


From: ELPA Syncer
Subject: [elpa] externals/corfu 0741292f0a 2/2: corfu-history: Expand docstring
Date: Sat, 6 May 2023 13:57:46 -0400 (EDT)

branch: externals/corfu
commit 0741292f0acc407a88e7e8343d57b1ef9c333f53
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    corfu-history: Expand docstring
---
 extensions/corfu-history.el | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/extensions/corfu-history.el b/extensions/corfu-history.el
index e581bcbf8a..c924b33b0b 100644
--- a/extensions/corfu-history.el
+++ b/extensions/corfu-history.el
@@ -41,12 +41,14 @@
 (eval-when-compile
   (require 'cl-lib))
 
+(defvar corfu-history nil
+  "History of Corfu candidates.
+The maximum length is determined by the variable `history-length'
+or the property `history-length' of `corfu-history'.")
+
 (defvar corfu-history--hash nil
   "Hash table of Corfu candidates.")
 
-(defvar corfu-history nil
-  "History of Corfu candidates.")
-
 (defun corfu-history--sort-predicate (x y)
   "Sorting predicate which compares X and Y."
   (or (< (cdr x) (cdr y))



reply via email to

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