summaryrefslogtreecommitdiff
path: root/lisp/cedet/semantic/wisent/comp.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-04-22 04:11:02 +0200
committerStefan Kangas <stefan@marxist.se>2021-04-22 04:11:02 +0200
commit71b14f28068d9327eb236b8577ccbddd65e3b38b (patch)
tree6bee12dd2666dc81648579ac52f2b197c3d756ed /lisp/cedet/semantic/wisent/comp.el
parent94de186686662462d391dd23a4f15d43a7a33bb2 (diff)
downloademacs-71b14f28068d9327eb236b8577ccbddd65e3b38b.tar.gz
Avoid lowering gc-cons-threshold
* lisp/cedet/semantic/wisent/comp.el (wisent--compile-grammar): * lisp/international/mule-cmds.el (ucs-names): * lisp/progmodes/ebrowse.el (ebrowse-read): * test/src/coding-tests.el (benchmark-decoder): Avoid lowering gc-cons-treshold.
Diffstat (limited to 'lisp/cedet/semantic/wisent/comp.el')
-rw-r--r--lisp/cedet/semantic/wisent/comp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/cedet/semantic/wisent/comp.el b/lisp/cedet/semantic/wisent/comp.el
index b96fa400d95..a87ed518909 100644
--- a/lisp/cedet/semantic/wisent/comp.el
+++ b/lisp/cedet/semantic/wisent/comp.el
@@ -3427,7 +3427,7 @@ where:
(if (wisent-automaton-p grammar)
grammar ;; Grammar already compiled just return it
(wisent-with-context compile-grammar
- (let* ((gc-cons-threshold 1000000))
+ (let* ((gc-cons-threshold (max gc-cons-threshold 1000000)))
(garbage-collect)
(setq wisent-new-log-flag t)
;; Parse input grammar