summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-02-06 18:15:08 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2023-02-06 18:15:08 +0100
commit56601bbccb1371ec6ab3788140a9f0440dccc914 (patch)
treeaa2e8fae30e9d78ff086dc52858659aa555f5a59
parent70d9db4bd71fbf979ab3fbb8f2a4db9f75b35817 (diff)
Remove comment
-rw-r--r--cape.el10
1 files changed, 3 insertions, 7 deletions
diff --git a/cape.el b/cape.el
index 832a321..4403bad 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)