(regexp-opt): Bind max-specpdl-size.
authorRichard M. Stallman <rms@gnu.org>
Wed, 9 Jan 2002 00:31:58 +0000 (00:31 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 9 Jan 2002 00:31:58 +0000 (00:31 +0000)
lisp/ChangeLog
lisp/emacs-lisp/regexp-opt.el

index d766667..01dd7bf 100644 (file)
@@ -1,5 +1,7 @@
 2002-01-08  Richard M. Stallman  <rms@gnu.org>
 
+       * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
+
        * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
 
        * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
index 9e95eeb..e46ad2c 100644 (file)
@@ -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))