From 56601bbccb1371ec6ab3788140a9f0440dccc914 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Mon, 6 Feb 2023 18:15:08 +0100 Subject: Remove comment --- cape.el | 10 +++------- 1 file 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) -- cgit v1.0