Commit 98c51a88 authored by Chong Yidong's avatar Chong Yidong

(recode-region): Deactivate mark at the end.

parent b1341740
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment