summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/package.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-02-18 22:25:05 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-02-18 22:25:05 -0800
commitf12f551b2c38748ed10ec8c350faa23516f7c705 (patch)
tree32a1dcb90d6d7cb9f8ea3dfee6f6ae1d97745ae1 /lisp/emacs-lisp/package.el
parent942f733fd1251da4486cf1d72ec5569532dfd19d (diff)
parent203784ccb151e37d6b1e1306b1f3a63d3b6d66f3 (diff)
downloademacs-f12f551b2c38748ed10ec8c350faa23516f7c705.tar.gz
emacs-f12f551b2c38748ed10ec8c350faa23516f7c705.tar.bz2
emacs-f12f551b2c38748ed10ec8c350faa23516f7c705.zip
Merge from mainline.
Diffstat (limited to 'lisp/emacs-lisp/package.el')
-rw-r--r--lisp/emacs-lisp/package.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 20b6514a02a..ab5ba1bea56 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1657,10 +1657,10 @@ list; the default is to display everything in `package-alist'."
(require 'finder-inf nil t)
(let ((buf (get-buffer-create "*Packages*")))
(with-current-buffer buf
+ (package-menu-mode)
(set (make-local-variable 'package-menu-package-list) packages)
(set (make-local-variable 'package-menu-sort-key) nil)
- (package--generate-package-list)
- (package-menu-mode))
+ (package--generate-package-list))
;; The package menu buffer has keybindings. If the user types
;; `M-x list-packages', that suggests it should become current.
(switch-to-buffer buf)))