branch: elpa/flx commit ed11b395773ca25e6fb152af782e6923d66f6603 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
No longer bind obsolete max-specpdl-size It is obsolete since Emacs 29 and its docstring suggests binding `max-lisp-eval-depth' instead (which we already do): > Former limit on specbindings, now without effect. > This variable used to limit the size of the specpdl stack which, > among other things, holds dynamic variable bindings and `unwind-protect' > activations. To prevent runaway recursion, use `max-lisp-eval-depth' > instead; it will indirectly limit the specpdl stack size as well. To play it safe, we could instead wrap the use of the obsolete variable with (with-suppressed-warnings ((obsolete max-specpdl-size)) ...). --- flx.el | 1 - 1 file changed, 1 deletion(-) diff --git a/flx.el b/flx.el index eb2522928c..e49a100371 100644 --- a/flx.el +++ b/flx.el @@ -362,7 +362,6 @@ For other parameters, see `flx-score'" ;; Raise recursion limit (max-lisp-eval-depth 5000) - (max-specpdl-size 10000) ;; Dynamic Programming table for memoizing flx-find-best-match (match-cache (make-hash-table :test 'eql :size 10))