fix(evil): evil-numbers: void-function incf error

Upstream is using `incf` before it was introduced in Emacs 31 (or maybe
they were trying to use the old, deprecated cl.el macro).

Fix: #8765
Ref: juliapath/evil-numbers#30
Ref: juliapath/evil-numbers#31
This commit is contained in:
Henrik Lissner 2026-05-06 22:39:27 -04:00
parent 76d69c2f5a
commit 541207196f
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -1,5 +1,11 @@
;; editor/evil/autoload/evil.el -*- lexical-binding: t; -*-
;; REVIEW: Remove once juliapath/evil-numbers#30 is addressed or
;; juliapath/evil-numbers#31 is merged.
;;;###autoload
(or (fboundp 'incf) (defalias 'incf 'cl-incf))
;;;###autodef
(defun set-evil-initial-state! (modes state)
"Set the initialize STATE of MODES using `evil-set-initial-state'."