branch: externals/cape
commit 56601bbccb1371ec6ab3788140a9f0440dccc914
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
Remove comment
---
cape.el | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/cape.el b/cape.el
index 832a321cea..4403bad2c2 100644
--- a/cape.el
+++ b/cape.el
@@ -388,12 +388,7 @@ See the user options `cape-dabbrev-min-length' and
(end (match-end 0)))
`(,beg ,end
,(cape--table-with-properties
- (cape--cached-table beg end
- #'cape--dabbrev-list
- ;; TODO: Use equal, if candidates must be
longer than cape-dabbrev-min-length.
- ;;(if (> cape-dabbrev-min-length 0) 'equal
'prefix)
- ;; Problem is that when entering more input,
candidates get lost!
- 'prefix)
+ (cape--cached-table beg end #'cape--dabbrev-list 'prefix)
:category 'cape-dabbrev)
,@cape--dabbrev-properties)))))
@@ -571,7 +566,8 @@ If INTERACTIVE is nil the function acts like a Capf."
;;;###autoload
(defun cape-super-capf (&rest capfs)
- "Merge CAPFS and return new Capf which includes all candidates."
+ "Merge CAPFS and return new Capf which includes all candidates.
+This feature is experimental."
(lambda ()
(when-let (results (delq nil (mapcar #'funcall capfs)))
(pcase-let* ((`((,beg ,end . ,_)) results)