Variable: evil-complete-next-func
evil-complete-next-func is a customizable variable defined in
evil-vars.el.
Value
#[257 "\305\306!\210?\205pC\307\3101,\f=\203\311\307!\202(\311\312\206%\313![!0\2020\210\311\307!*\207"
[evil-complete-all-buffers dabbrev-case-distinction dabbrev-search-these-buffers-only last-command this-command require dabbrev nil
(error)
dabbrev-expand abs 1]
4 "\n\n(fn ARG)"]
Documentation
Completion function used by C-n (evil-complete-next).
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-vars.el
(defcustom evil-complete-next-func
#'(lambda (arg)
(require 'dabbrev)
(let ((dabbrev-search-these-buffers-only
(unless evil-complete-all-buffers
(list (current-buffer))))
dabbrev-case-distinction)
(condition-case nil
(if (eq last-command this-command)
(dabbrev-expand nil)
(dabbrev-expand (- (abs (or arg 1)))))
(error (dabbrev-expand nil)))))
"Completion function used by \
\\<evil-insert-state-map>\\[evil-complete-next]."
:type 'function
:group 'evil)