]> git.eshelyaron.com Git - emacs.git/commitdiff
(regexp-opt): Reduce max-lisp-eval-depth and max-specpdl-size to
authorChong Yidong <cyd@stupidchicken.com>
Wed, 9 Apr 2008 15:38:32 +0000 (15:38 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 9 Apr 2008 15:38:32 +0000 (15:38 +0000)
10000.

lisp/emacs-lisp/regexp-opt.el

index 51ed53e71fc27717af706269340298b72d1a4a56..42a77de3d08d307e50293e54ad3cdc25d9600701 100644 (file)
@@ -101,8 +101,8 @@ If PAREN is `words', then the resulting regexp is additionally surrounded
 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))