diff lisp/international/mule.el @ 67517:527e6fc032c7

(load-with-code-conversion): Bind deactivate-mark.
author Richard M. Stallman <rms@gnu.org>
date Mon, 12 Dec 2005 05:11:57 +0000
parents 27a95070b049
children ac1d7b21ddfc 14a4eb789b45 7beb78bc1f8e
line wrap: on
line diff
--- a/lisp/international/mule.el	Mon Dec 12 05:11:08 2005 +0000
+++ b/lisp/international/mule.el	Mon Dec 12 05:11:57 2005 +0000
@@ -73,7 +73,9 @@
 		(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