]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 11 Dec 2013 14:27:15 +0000 (09:27 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 11 Dec 2013 14:27:15 +0000 (09:27 -0500)
lisp/ChangeLog
lisp/emacs-lisp/trace.el

index e4eabc0cc50917f5f51da23948f0625b766e4ae6..2b1b2fe97c063b3abac8b066fa4476b4fec4ccf5 100644 (file)
@@ -1,5 +1,7 @@
 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
+
        * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
        to `delete' (bug#16109).
 
index f605c2865c00cf80be8401ded83da98aa585e09b..3a2c44a8da69d86acc75d09add6ccb8828cbdaa5 100644 (file)
@@ -222,6 +222,7 @@ be printed along with the arguments in the trace."
   (lambda (body &rest args)
     (let ((trace-level (1+ trace-level))
           (trace-buffer (get-buffer-create buffer))
+          (deactivate-mark nil)         ;Protect deactivate-mark.
           (ctx (funcall context)))
       (unless inhibit-trace
         (with-current-buffer trace-buffer