aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2013-12-11 09:27:15 -0500
committerStefan Monnier2013-12-11 09:27:15 -0500
commite82af72d50e789123f3aba16c7389c688c49469a (patch)
treecb9f6ff454afb8b9bb01578e1f072cbaca9c6e0d
parentafdadaf7b6a39320445ca46d365ff9f51ad7c0e2 (diff)
downloademacs-e82af72d50e789123f3aba16c7389c688c49469a.tar.gz
emacs-e82af72d50e789123f3aba16c7389c688c49469a.zip
* lisp/emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/emacs-lisp/trace.el1
2 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e4eabc0cc50..2b1b2fe97c0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12013-12-11 Stefan Monnier <monnier@iro.umontreal.ca> 12013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4
3 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically 5 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4 to `delete' (bug#16109). 6 to `delete' (bug#16109).
5 7
diff --git a/lisp/emacs-lisp/trace.el b/lisp/emacs-lisp/trace.el
index f605c2865c0..3a2c44a8da6 100644
--- a/lisp/emacs-lisp/trace.el
+++ b/lisp/emacs-lisp/trace.el
@@ -222,6 +222,7 @@ be printed along with the arguments in the trace."
222 (lambda (body &rest args) 222 (lambda (body &rest args)
223 (let ((trace-level (1+ trace-level)) 223 (let ((trace-level (1+ trace-level))
224 (trace-buffer (get-buffer-create buffer)) 224 (trace-buffer (get-buffer-create buffer))
225 (deactivate-mark nil) ;Protect deactivate-mark.
225 (ctx (funcall context))) 226 (ctx (funcall context)))
226 (unless inhibit-trace 227 (unless inhibit-trace
227 (with-current-buffer trace-buffer 228 (with-current-buffer trace-buffer