comparison lisp/speedbar.el @ 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 87bf8eb5c639
comparison
equal deleted inserted replaced
23084:e1613f1c52f8 23085:46deaf6e62a9
3 ;;; Copyright (C) 1996, 97, 98 Free Software Foundation 3 ;;; Copyright (C) 1996, 97, 98 Free Software Foundation
4 4
5 ;; Author: Eric M. Ludlam <zappo@gnu.org> 5 ;; Author: Eric M. Ludlam <zappo@gnu.org>
6 ;; Version: 0.7.2a 6 ;; Version: 0.7.2a
7 ;; Keywords: file, tags, tools 7 ;; Keywords: file, tags, tools
8 ;; X-RCS: $Id: speedbar.el,v 1.11 1998/08/24 00:37:22 zappo Exp zappo $ 8 ;; X-RCS: $Id: speedbar.el,v 1.12 1998/08/24 00:55:45 zappo Exp zappo $
9 9
10 ;; This file is part of GNU Emacs. 10 ;; This file is part of GNU Emacs.
11 11
12 ;; GNU Emacs is free software; you can redistribute it and/or modify 12 ;; GNU Emacs is free software; you can redistribute it and/or modify
13 ;; it under the terms of the GNU General Public License as published by 13 ;; it under the terms of the GNU General Public License as published by
2613 interrupted by the user." 2613 interrupted by the user."
2614 (if (not speedbar-stealthy-update-recurse) 2614 (if (not speedbar-stealthy-update-recurse)
2615 (let ((l (speedbar-initial-stealthy-functions)) 2615 (let ((l (speedbar-initial-stealthy-functions))
2616 (speedbar-stealthy-update-recurse t)) 2616 (speedbar-stealthy-update-recurse t))
2617 (unwind-protect 2617 (unwind-protect
2618 (while (and l (funcall (car l))) 2618 (speedbar-with-writable
2619 ;(sit-for 0) 2619 (while (and l (funcall (car l)))
2620 (setq l (cdr l))) 2620 ;;(sit-for 0)
2621 (setq l (cdr l))))
2621 ;;(message "Exit with %S" (car l)) 2622 ;;(message "Exit with %S" (car l))
2622 )))) 2623 ))))
2623 2624
2624 (defun speedbar-reset-scanners () 2625 (defun speedbar-reset-scanners ()
2625 "Reset any variables used by functions in the stealthy list as state. 2626 "Reset any variables used by functions in the stealthy list as state.