]> git.eshelyaron.com Git - emacs.git/commitdiff
Make the *Packages* buffer read-only.
authorChong Yidong <cyd@stupidchicken.com>
Sun, 24 Oct 2010 15:37:21 +0000 (11:37 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 24 Oct 2010 15:37:21 +0000 (11:37 -0400)
* emacs-lisp/package.el (package--generate-package-list): Make the
*Packages* buffer read-only.

lisp/ChangeLog
lisp/emacs-lisp/package.el

index ce7d83d55a66ccc83b6b03072ab03cfdeafee681..43d28d5d6086db712fec39116319d089ed2e39e6 100644 (file)
@@ -1,3 +1,8 @@
+2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
+
+       * emacs-lisp/package.el (package--generate-package-list): Make the
+       *Packages* buffer read-only.
+
 2010-10-24  Alan Mackenzie  <acm@muc.de>
 
        * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
index 61a2985226dab5296e94cb6a6102cbed4599756f..f59082153fe15f4a4c4e0c313e558e1751574c84 100644 (file)
@@ -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)