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

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

[elpa] externals/capf-autosuggest 0ef9e94 16/63: Add documentation to ca


From: ELPA Syncer
Subject: [elpa] externals/capf-autosuggest 0ef9e94 16/63: Add documentation to capf functions
Date: Wed, 27 Oct 2021 14:57:56 -0400 (EDT)

branch: externals/capf-autosuggest
commit 0ef9e94cff539c19f77f39774d0b49acbcfe4ac6
Author: jakanakaevangeli <jakanakaevangeli@chiru.no>
Commit: jakanakaevangeli <jakanakaevangeli@chiru.no>

    Add documentation to capf functions
---
 history-capf.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/history-capf.el b/history-capf.el
index 04433b2..df4a71b 100644
--- a/history-capf.el
+++ b/history-capf.el
@@ -43,6 +43,8 @@
 
 ;;;###autoload
 (defun history-capf-comint ()
+  "Completion-at-point function for comint input history.
+Is only applicable if point is after the last prompt."
   (let ((ring comint-input-ring)
         (beg nil))
     (and ring (ring-p ring) (not (ring-empty-p ring))
@@ -59,6 +61,8 @@
 
 ;;;###autoload
 (defun history-capf-eshell ()
+  "Completion-at-point function for eshell input history.
+Is only applicable if point is after the last prompt."
   (let ((ring eshell-history-ring)
         (beg nil))
     (and ring (ring-p ring) (not (ring-empty-p ring))



reply via email to

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