emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 a6905e9: Fix problem with temp buffer killing in package-instal


From: Lars Ingebrigtsen
Subject: emacs-28 a6905e9: Fix problem with temp buffer killing in package-install-file
Date: Thu, 11 Nov 2021 22:45:10 -0500 (EST)

branch: emacs-28
commit a6905e90cc3358a21726646c4ee9154e80fc96d6
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix problem with temp buffer killing in package-install-file
    
    * lisp/emacs-lisp/package.el (package-install-file): Allow killing
    the temporary buffer without querying (bug#51769).
---
 lisp/emacs-lisp/package.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 5445fa9..2c37e19 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -2239,6 +2239,7 @@ directory."
           (dired-mode))
       (insert-file-contents-literally file)
       (set-visited-file-name file)
+      (set-buffer-modified-p nil)
       (when (string-match "\\.tar\\'" file) (tar-mode)))
     (package-install-from-buffer)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]