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).
This commit is contained in:
parent
144ad77fda
commit
a6905e90cc
1 changed files with 1 additions and 0 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue