projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9596ea1
)
Make package-install-from-buffer not move point
author
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 11 May 2016 22:29:03 +0000
(
01:29
+0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 11 May 2016 22:29:03 +0000
(
01:29
+0300)
* lisp/emacs-lisp/package.el (package-install-from-buffer):
Use save-excursion here (bug#22616).
lisp/emacs-lisp/package.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/package.el
b/lisp/emacs-lisp/package.el
index 3f0e972afebbdd1f54a0aec070485bb30fc1b9a1..5371f0b9e55f0ea43021576204dd7dad66167b43 100644
(file)
--- a/
lisp/emacs-lisp/package.el
+++ b/
lisp/emacs-lisp/package.el
@@
-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))