aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVibhav Pant2017-01-26 00:57:10 +0530
committerVibhav Pant2017-01-26 00:57:10 +0530
commit8189b97e5ca12aff8ea34617431a868010643b5b (patch)
tree7bd519bee59293a891d9727e21e14dffa83b156f
parent0d3c57dcf3187864c0b6fd6115ee80ad33faf553 (diff)
downloademacs-8189b97e5ca12aff8ea34617431a868010643b5b.tar.gz
emacs-8189b97e5ca12aff8ea34617431a868010643b5b.zip
* lisp/emacs-lisp/bytecomp.el: Fix byte-switch codegen with symbols.
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 3c59c92c042..0da1418321f 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -4005,7 +4005,7 @@ that suppresses all warnings during execution of BODY."
4005 (eq obj1 prev-var) 4005 (eq obj1 prev-var)
4006 ;; discard duplicate clauses 4006 ;; discard duplicate clauses
4007 (not (assq obj2 cases))) 4007 (not (assq obj2 cases)))
4008 (push (list (eval obj2) body) cases) 4008 (push (list (if (consp obj2) (eval obj2) obj2) body) cases)
4009 (if (eq condition t) 4009 (if (eq condition t)
4010 (progn (push (list 'default body) cases) 4010 (progn (push (list 'default body) cases)
4011 (throw 'break t)) 4011 (throw 'break t))