Function: cape--dabbrev-list

cape--dabbrev-list is a byte-compiled function defined in cape.el.

Signature

(cape--dabbrev-list INPUT)

Documentation

Find all Dabbrev expansions for INPUT.

Source Code

;; Defined in ~/.emacs.d/elpa/cape-20260804.2303/cape.el
(defun cape--dabbrev-list (input)
  "Find all Dabbrev expansions for INPUT."
  (cape--silent
    (dlet ((dabbrev-check-other-buffers nil)
           (dabbrev-check-all-buffers nil)
           (dabbrev-backward-only nil)
           (dabbrev-limit nil)
           (dabbrev-search-these-buffers-only
            (ensure-list (funcall cape-dabbrev-buffer-function)))
           (inhibit-redisplay t))
      (dabbrev--reset-global-variables)
      (cons
       (apply-partially #'string-prefix-p input)
       (let ((ic (cape--case-fold-p dabbrev-case-fold-search)))
         (cape--case-replace-list (and ic dabbrev-case-replace) input
                                  (dabbrev--find-all-expansions input ic)))))))