changeset 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 6355aeca71ad
children 71747d29feb0
files lisp/international/mule.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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