]> git.eshelyaron.com Git - emacs.git/commitdiff
(load-with-code-conversion): Bind deactivate-mark.
authorRichard M. Stallman <rms@gnu.org>
Mon, 12 Dec 2005 05:11:57 +0000 (05:11 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 12 Dec 2005 05:11:57 +0000 (05:11 +0000)
lisp/international/mule.el

index 8283940bd2d7caf8b0469266e07c34e749d59e7b..cd26cd2f73f09821485212d4606eda48fbb6d666 100644 (file)
@@ -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