mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-05-11 14:27:15 -07:00
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:
parent
76d69c2f5a
commit
541207196f
1 changed files with 6 additions and 0 deletions
|
|
@ -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'."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue