From: Richard M. Stallman Date: Mon, 12 Dec 2005 05:11:57 +0000 (+0000) Subject: (load-with-code-conversion): Bind deactivate-mark. X-Git-Tag: emacs-pretest-22.0.90~5329 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9fe1108c1094e1484939c894059c971dc2cff626;p=emacs.git (load-with-code-conversion): Bind deactivate-mark. --- 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