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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue