# HG changeset patch # User Chong Yidong # Date 1216852807 0 # Node ID 57b80a67db7bba5c82db35c3045af4dc79301b82 # Parent 097917c3c2c222c325525a2d611e23096fbad328 (recode-region): Deactivate mark at the end. diff -r 097917c3c2c2 -r 57b80a67db7b lisp/international/mule.el --- a/lisp/international/mule.el Wed Jul 23 22:39:57 2008 +0000 +++ b/lisp/international/mule.el Wed Jul 23 22:40:07 2008 +0000 @@ -2049,7 +2049,9 @@ (save-restriction (narrow-to-region start end) (encode-coding-region (point-min) (point-max) coding) - (decode-coding-region (point-min) (point-max) new-coding))) + (decode-coding-region (point-min) (point-max) new-coding)) + (if (region-active-p) + (deactivate-mark))) (defun make-translation-table (&rest args) "Make a translation table from arguments.