Fix recursive load error
* eat.el (eat-semi-char-non-bound-keys) (eat-eshell-semi-char-non-bound-keys): Let-bind 'after-load-alist' and 'after-load-functions' before reloading Eat.
This commit is contained in:
parent
d85744b48a
commit
64dcbd2c07
1 changed files with 6 additions and 2 deletions
8
eat.el
8
eat.el
|
@ -221,7 +221,9 @@ make the changes effective."
|
|||
(when (and (not eat--being-loaded)
|
||||
(boundp 'eat-semi-char-mode-map))
|
||||
(eat-update-semi-char-mode-map)
|
||||
(eat-reload)))
|
||||
(let ((after-load-alist nil)
|
||||
(after-load-functions nil))
|
||||
(eat-reload))))
|
||||
:group 'eat-ui)
|
||||
|
||||
(defcustom eat-eshell-semi-char-non-bound-keys
|
||||
|
@ -267,7 +269,9 @@ Eat to make the changes effective."
|
|||
(when (and (not eat--being-loaded)
|
||||
(boundp 'eat-eshell-semi-char-mode-map))
|
||||
(eat-eshell-update-semi-char-mode-map)
|
||||
(eat-reload)))
|
||||
(let ((after-load-alist nil)
|
||||
(after-load-functions nil))
|
||||
(eat-reload))))
|
||||
:group 'eat-eshell)
|
||||
|
||||
(defcustom eat-enable-directory-tracking t
|
||||
|
|
Loading…
Add table
Reference in a new issue