commit 487daa68209bf67156c00d73756af14ca638f9be
parent 4517cd7301df786c70f5c1c75221024a8c166fa4
Author: Gabriel G. de Brito <me@gboncoffee.dev.br>
Date: Thu, 16 Apr 2026 16:41:55 -0300
Increased limit for Emacs lisp evaluation.
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org
@@ -144,6 +144,12 @@ Setup auth sources.
(setq auth-sources '("~/.authinfo.gpg"))
#+END_SRC
+Emacs has a very low default nesting limit that's commonly exceeded even on builtin functionality like TRAMP.
+
+#+BEGIN_SRC emacs-lisp
+(setq max-lisp-eval-depth 10000)
+#+END_SRC
+
**** TODO Fix this
Disable local variables. For some reason, Emacs would sometimes call ~file-remote-p~ on nil inside of ~hack-local-variables~ and completely break.