emacs-lisp: don't use custom-set-variables
As it make evil to error when the delq form is written the customize file, instead we call the set method manually and it works fine. Would be better and more future proof to curry the set function into a named function of 0 arity for evil-intercept-maps custom setting.
This commit is contained in:
parent
76b0d3c48a
commit
3da2f3702e
|
@ -75,10 +75,13 @@
|
||||||
"dF" 'spacemacs/edebug-instrument-defun-off))
|
"dF" 'spacemacs/edebug-instrument-defun-off))
|
||||||
;; since we evilify `edebug-mode-map' we don't need to intercept it to
|
;; since we evilify `edebug-mode-map' we don't need to intercept it to
|
||||||
;; make it work with evil
|
;; make it work with evil
|
||||||
(custom-set-variables
|
(evil-set-custom-state-maps
|
||||||
'(evil-intercept-maps
|
'evil-intercept-maps
|
||||||
(delq (assq 'edebug-mode-map evil-intercept-maps)
|
'evil-pending-intercept-maps
|
||||||
evil-intercept-maps)))
|
'intercept-state
|
||||||
|
'evil-make-intercept-map
|
||||||
|
(delq (assq 'edebug-mode-map evil-intercept-maps)
|
||||||
|
evil-intercept-maps))
|
||||||
(evilified-state-evilify-map edebug-mode-map
|
(evilified-state-evilify-map edebug-mode-map
|
||||||
:eval-after-load edebug
|
:eval-after-load edebug
|
||||||
:bindings
|
:bindings
|
||||||
|
|
Loading…
Reference in a new issue