1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(load-with-code-conversion): Bind deactivate-mark.

This commit is contained in:
Richard M. Stallman 2005-12-12 05:11:57 +00:00
parent 4aede2f281
commit 9fe1108c10

View 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