diff options
author | Eric M. Ludlam <zappo@gnu.org> | 1998-08-24 00:37:22 +0000 |
---|---|---|
committer | Eric M. Ludlam <zappo@gnu.org> | 1998-08-24 00:37:22 +0000 |
commit | 2d0327e545cd3fc0f90643a2c3b7a043052d93c2 (patch) | |
tree | 0729c3d29650fb6d62b849b8616ece40706f53c5 /lisp/speedbar.el | |
parent | 25b026986fec6aef4be19a52778adb16e6d771a0 (diff) | |
download | emacs-2d0327e545cd3fc0f90643a2c3b7a043052d93c2.tar.gz emacs-2d0327e545cd3fc0f90643a2c3b7a043052d93c2.tar.bz2 emacs-2d0327e545cd3fc0f90643a2c3b7a043052d93c2.zip |
(speedbar-with-writable): remove `toggle-read-only'.
(speedbar-mode): Set buffer to read only.
Diffstat (limited to 'lisp/speedbar.el')
-rw-r--r-- | lisp/speedbar.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/speedbar.el b/lisp/speedbar.el index 9558c83774b..6b4a21e2a86 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el @@ -5,7 +5,7 @@ ;; Author: Eric M. Ludlam <zappo@gnu.org> ;; Version: 0.7.2a ;; Keywords: file, tags, tools -;; X-RCS: $Id: speedbar.el,v 1.9 1998/08/19 01:43:37 zappo Exp done $ +;; X-RCS: $Id: speedbar.el,v 1.10 1998/08/19 21:43:56 done Exp zappo $ ;; This file is part of GNU Emacs. @@ -1174,6 +1174,7 @@ in the selected file. speedbar-buffer) (speedbar-frame-mode -1))))) t t) + (toggle-read-only 1) (speedbar-set-mode-line-format) (if speedbar-xemacsp (progn @@ -1810,7 +1811,6 @@ to track file check ins, and will change the mode line to match (defmacro speedbar-with-writable (&rest forms) "Allow the buffer to be writable and evaluate FORMS." (list 'let '((inhibit-read-only t)) - '(toggle-read-only -1) (cons 'progn forms))) (put 'speedbar-with-writable 'lisp-indent-function 0) |