From 9fe1108c1094e1484939c894059c971dc2cff626 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 12 Dec 2005 05:11:57 +0000 Subject: [PATCH] (load-with-code-conversion): Bind deactivate-mark. --- lisp/international/mule.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5