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:
Akib Azmain Turja 2023-07-03 19:48:35 +06:00
parent d85744b48a
commit 64dcbd2c07
No known key found for this signature in database
GPG key ID: 5535FCF54D88616B

8
eat.el
View file

@ -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