summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/international/mule.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index 9e0d575e6fc..35c696dc916 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -2049,7 +2049,9 @@ Part of the job of this function is setting `buffer-undo-list' appropriately."
(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.