changeset 23085:46deaf6e62a9

(speedbar-stealthy-updates): Do all updates w/ the the buffer writable.
author Eric M. Ludlam <zappo@gnu.org>
date Mon, 24 Aug 1998 01:16:09 +0000
parents e1613f1c52f8
children baea0ab6d015
files lisp/speedbar.el
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/speedbar.el	Mon Aug 24 00:55:45 1998 +0000
+++ b/lisp/speedbar.el	Mon Aug 24 01:16:09 1998 +0000
@@ -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.11 1998/08/24 00:37:22 zappo Exp zappo $
+;; X-RCS: $Id: speedbar.el,v 1.12 1998/08/24 00:55:45 zappo Exp zappo $
 
 ;; This file is part of GNU Emacs.
 
@@ -2615,9 +2615,10 @@
       (let ((l (speedbar-initial-stealthy-functions))
 	    (speedbar-stealthy-update-recurse t))
 	(unwind-protect
-	    (while (and l (funcall (car l)))
-	      ;(sit-for 0)
-	      (setq l (cdr l)))
+	    (speedbar-with-writable
+	     (while (and l (funcall (car l)))
+	       ;;(sit-for 0)
+	       (setq l (cdr l))))
 	  ;;(message "Exit with %S" (car l))
 	  ))))