mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
Make package-install-from-buffer not move point
* lisp/emacs-lisp/package.el (package-install-from-buffer): Use save-excursion here (bug#22616).
This commit is contained in:
parent
9596ea1534
commit
4c5a00b09f
@ -1989,7 +1989,8 @@ Downloads and installs required packages as needed."
|
||||
((derived-mode-p 'tar-mode)
|
||||
(package-tar-file-info))
|
||||
(t
|
||||
(package-buffer-info))))
|
||||
(save-excursion
|
||||
(package-buffer-info)))))
|
||||
(name (package-desc-name pkg-desc)))
|
||||
;; Download and install the dependencies.
|
||||
(let* ((requires (package-desc-reqs pkg-desc))
|
||||
|
Loading…
Reference in New Issue
Block a user