summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVibhav Pant <vibhavp@gmail.com>2017-02-05 21:48:27 +0530
committerVibhav Pant <vibhavp@gmail.com>2017-02-05 21:48:27 +0530
commit490fc5a5029c0d8e527a0c7f423ba83fd6afda60 (patch)
tree9cdc33d2099880230c8c5ec61aae9b6a1b075422
parentcadb044fc2e69266308cdcabe6181be0f624b484 (diff)
downloademacs-490fc5a5029c0d8e527a0c7f423ba83fd6afda60.tar.gz
; bytecomp.el (-inline-lapcode): Fix incorrect parenthesis, refactor
-rw-r--r--lisp/emacs-lisp/bytecomp.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 6e6c48399e1..7346dccdad1 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -3152,14 +3152,14 @@ for symbols generated by the byte compiler itself."
last-jump-tag nil))
(byte-compile-out-tag op))
((memq (car op) byte-goto-ops)
- (setq last-depth byte-compile-depth)
- (when last-switch (push (cdr op) switch-default-tags))
+ (setq last-depth byte-compile-depth
+ last-jump-tag (cdr op))
(byte-compile-goto (car op) (cdr op))
(when last-switch
+ (push (cdr op) switch-default-tags)
(setcdr (cdr (cdr op)) nil)
(setq byte-compile-depth last-depth
- last-switch nil))
- (setq last-jump-tag (cdr op)))
+ last-switch nil)))
((eq (car op) 'byte-return)
(byte-compile-discard (- byte-compile-depth end-depth) t)
(byte-compile-goto 'byte-goto endtag))
@@ -3172,7 +3172,7 @@ for symbols generated by the byte compiler itself."
last-constant))
(setq last-constant (and (eq (car op) 'byte-constant) (cadr op)))
(setq last-depth byte-compile-depth)
- (byte-compile-out (car op)) (cdr op))))
+ (byte-compile-out (car op) (cdr op)))))
(byte-compile-out-tag endtag)))
(defun byte-compile-unfold-bcf (form)