summaryrefslogtreecommitdiff
path: root/lisp/international/mule.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-12-12 05:11:57 +0000
committerRichard M. Stallman <rms@gnu.org>2005-12-12 05:11:57 +0000
commit9fe1108c1094e1484939c894059c971dc2cff626 (patch)
treee3be5cd677b64ee2958af20febe3ccd3377d9b44 /lisp/international/mule.el
parent4aede2f2818d72e30357db0a7b01d3173b816787 (diff)
downloademacs-9fe1108c1094e1484939c894059c971dc2cff626.tar.gz
(load-with-code-conversion): Bind deactivate-mark.
Diffstat (limited to 'lisp/international/mule.el')
-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 8283940bd2d..cd26cd2f73f 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -73,7 +73,9 @@ Return t if file exists."
(inhibit-file-name-operation nil))
(save-excursion
(set-buffer buffer)
- (insert-file-contents fullname)
+ ;; Don't let deactivate-mark remain set.
+ (let (deactivate-mark)
+ (insert-file-contents fullname))
;; If the loaded file was inserted with no-conversion or
;; raw-text coding system, make the buffer unibyte.
;; Otherwise, eval-buffer might try to interpret random