From fea1ad36a0f7b1538984ab0f077095a53c570aa4 Mon Sep 17 00:00:00 2001 From: Vibhav Pant Date: Sun, 5 Feb 2017 18:55:45 +0530 Subject: [PATCH] ; * byte-opt.el (byte-decompile-bytecode-1): Add more documentation. --- lisp/emacs-lisp/byte-opt.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index b962916e67a..edfa578f85b 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el @@ -1417,8 +1417,10 @@ (push (cons (+ (car tag) (lsh (cdr tag) 8)) newtag) tags) (puthash value newtag last-constant))) last-constant) + ;; Replace the hash table referenced in the lapcode with our + ;; modified one. (cl-loop for el in-ref lap - when (and (listp el) + when (and (listp el) ;; make sure we're at the correct op (eq (nth 1 el) 'byte-constant) (eq (nth 2 el) orig-table)) do (setf (nth 2 el) last-constant) and return nil)))) -- 2.39.5