aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/bytecomp.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 7d686b10057..76a0712dcad 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -2610,6 +2610,7 @@ If FORM is a lambda or a macro, byte-compile it as a function."
2610(byte-defop-compiler-1 save-restriction) 2610(byte-defop-compiler-1 save-restriction)
2611(byte-defop-compiler-1 save-window-excursion) 2611(byte-defop-compiler-1 save-window-excursion)
2612(byte-defop-compiler-1 with-output-to-temp-buffer) 2612(byte-defop-compiler-1 with-output-to-temp-buffer)
2613(byte-defop-compiler-1 track-mouse)
2613 2614
2614(defun byte-compile-catch (form) 2615(defun byte-compile-catch (form)
2615 (byte-compile-form (car (cdr form))) 2616 (byte-compile-form (car (cdr form)))
@@ -2624,6 +2625,15 @@ If FORM is a lambda or a macro, byte-compile it as a function."
2624 (byte-compile-form-do-effect (car (cdr form))) 2625 (byte-compile-form-do-effect (car (cdr form)))
2625 (byte-compile-out 'byte-unbind 1)) 2626 (byte-compile-out 'byte-unbind 1))
2626 2627
2628(defun byte-compile-track-mouse (form)
2629 (byte-compile-form
2630 (list
2631 'funcall
2632 (list 'quote
2633 (list 'lambda nil
2634 (list 'track-mouse
2635 (byte-compile-top-level (nth 1 form))))))))
2636
2627(defun byte-compile-condition-case (form) 2637(defun byte-compile-condition-case (form)
2628 (let* ((var (nth 1 form)) 2638 (let* ((var (nth 1 form))
2629 (byte-compile-bound-variables 2639 (byte-compile-bound-variables