Mercurial > emacs
changeset 102446:1d22159e6128
(term-send-raw): Deactivate the mark first (Bug#2449).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 08 Mar 2009 19:33:06 +0000 |
parents | 1feaf8f29db1 |
children | ca47e74f590a |
files | lisp/term.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/term.el Sun Mar 08 19:32:55 2009 +0000 +++ b/lisp/term.el Sun Mar 08 19:33:06 2009 +0000 @@ -1182,7 +1182,8 @@ "Send the last character typed through the terminal-emulator without any interpretation." (interactive) - ;; Convert `return' to C-m, etc. + (deactivate-mark) + ;; Convert `return' to C-m, etc. (when (and (symbolp last-input-event) (get last-input-event 'ascii-character)) (setq last-input-event (get last-input-event 'ascii-character)))