aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/package.el
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2010-10-24 11:37:21 -0400
committerChong Yidong <[email protected]>2010-10-24 11:37:21 -0400
commitf34e6aaaf8950f33be03ea89146d0cadb8119d40 (patch)
tree2a71178cdcc6547d11411d7729fe7418da884cd1 /lisp/emacs-lisp/package.el
parent10f5e3e60c1d7c79ecc31176e3c16d0336627d32 (diff)
Make the *Packages* buffer read-only.
* emacs-lisp/package.el (package--generate-package-list): Make the *Packages* buffer read-only.
Diffstat (limited to 'lisp/emacs-lisp/package.el')
-rw-r--r--lisp/emacs-lisp/package.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 61a2985226..f59082153f 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1474,7 +1474,7 @@ A value of nil means to display all packages.")
(package-initialize)
(let ((inhibit-read-only t)
info-list name desc hold builtin)
- (setq buffer-read-only nil)
+ (setq buffer-read-only t)
(erase-buffer)
;; List installed packages
(dolist (elt package-alist)