aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/regexp-opt.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2002-01-09 00:31:58 +0000
committerRichard M. Stallman <[email protected]>2002-01-09 00:31:58 +0000
commitf3bd3e5ff1888a4cef074c2ad0a3fa3de4c4e437 (patch)
tree1100218d542f660958bcbdc13857bca44135513a /lisp/emacs-lisp/regexp-opt.el
parente3b2eba1b6fd0af559d597a9b1832678b10db4e3 (diff)
(regexp-opt): Bind max-specpdl-size.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
-rw-r--r--lisp/emacs-lisp/regexp-opt.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/regexp-opt.el b/lisp/emacs-lisp/regexp-opt.el
index 9e95eeb8fc..e46ad2ca3e 100644
--- a/lisp/emacs-lisp/regexp-opt.el
+++ b/lisp/emacs-lisp/regexp-opt.el
@@ -101,6 +101,7 @@ by \\=\\< and \\>."
(save-match-data
;; Recurse on the sorted list.
(let* ((max-lisp-eval-depth (* 1024 1024))
+ (max-specpdl-size (* 1024 1024))
(completion-ignore-case nil)
(completion-regexp-list nil)
(words (eq paren 'words))