summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2019-07-08 18:06:21 -0400
committerNoam Postavsky <npostavs@gmail.com>2019-07-08 18:06:21 -0400
commit122198d2f1aaf0b74c102874cc9b04ae4789f54f (patch)
tree436cf7bd12cb37b7ae8c8aff7e2cc972973f44e6
parentae87b76fb25025cf8631ee5ca6120aff8802943b (diff)
downloademacs-122198d2f1aaf0b74c102874cc9b04ae4789f54f.tar.gz
Turn off bytecode jumptables to avoid Bug#36447
* lisp/emacs-lisp/bytecomp.el (byte-compile-cond-use-jump-table): Set to nil. We can turn this back on again when Bug#36447 is solved and we handle dumped hash tables correctly.
-rw-r--r--lisp/emacs-lisp/bytecomp.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 431525431a4..495aed09f38 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -223,7 +223,8 @@ Possible values are:
This includes variable references and calls to functions such as `car'."
:type 'boolean)
-(defcustom byte-compile-cond-use-jump-table t
+;; Switch to back to t after solving Bug#36447.
+(defcustom byte-compile-cond-use-jump-table nil
"Compile `cond' clauses to a jump table implementation (using a hash-table)."
:version "26.1"
:type 'boolean)