diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2022-02-01 21:18:34 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2022-02-01 21:18:34 +0100 |
| commit | dba8492f70a46fde51d6269ae971693fd1777575 (patch) | |
| tree | d37f7472af06c856939766030ece90c4b4f8ee32 | |
| parent | 92c3168283c6d9faa3fcf2e72d0d71afbfa5d6e1 (diff) | |
cape-dabbrev: use prefix input check
| -rw-r--r-- | cape.el | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -496,11 +496,12 @@ If INTERACTIVE is nil the function acts like a capf." (end (match-end 0))) `(,beg ,end ,(cape--table-with-properties - ;; Use equal, if candidates must be longer than cape-dabbrev-min-length. (cape--cached-table beg end #'cape--dabbrev-list - (if (> cape-dabbrev-min-length 0) - 'equal 'prefix)) + ;; 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) :category 'cape-dabbrev) :exclusive no ,@cape--dabbrev-properties))))) |
