changeset 93920:22cfb604a455

(regexp-opt): Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 09 Apr 2008 15:38:32 +0000
parents 31ff447ca160
children f7d6d03d8ceb
files lisp/emacs-lisp/regexp-opt.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/regexp-opt.el	Wed Apr 09 15:38:05 2008 +0000
+++ b/lisp/emacs-lisp/regexp-opt.el	Wed Apr 09 15:38:32 2008 +0000
@@ -101,8 +101,8 @@
 by \\=\\< and \\>."
   (save-match-data
     ;; Recurse on the sorted list.
-    (let* ((max-lisp-eval-depth (* 1024 1024))
-	   (max-specpdl-size (* 1024 1024))
+    (let* ((max-lisp-eval-depth 10000)
+	   (max-specpdl-size 10000)
 	   (completion-ignore-case nil)
 	   (completion-regexp-list nil)
 	   (words (eq paren 'words))