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:
parent
4aede2f281
commit
9fe1108c10
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user