]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/bytecomp.el: Create jump tables with :purecopy t
authorVibhav Pant <vibhavp@gmail.com>
Mon, 30 Jan 2017 13:52:09 +0000 (19:22 +0530)
committerVibhav Pant <vibhavp@gmail.com>
Mon, 30 Jan 2017 13:52:09 +0000 (19:22 +0530)
lisp/emacs-lisp/bytecomp.el

index eb297288c63f4a733cb8fa63a80b1976acec49a9..53622a47d7ad31bb2d1747b3be6f67ffe52ab1c7 100644 (file)
@@ -4028,6 +4028,7 @@ Return a list of the form ((TEST . VAR)  ((VALUE BODY) ...))"
          jump-table test-obj body tag donetag default-tag default-case)
     (when (and cases (not (= (length cases) 1)))
       (setq jump-table (make-hash-table :test test
+                                        :purecopy t
                                         :size (if (assq 'default cases)
                                                   (1- (length cases))
                                                 (length cases)))