(speedbar-timer-fn): Revert to old behaviour when not

in GUD mode.
This commit is contained in:
Nick Roberts 2006-11-26 23:08:36 +00:00
parent 0a43e42719
commit f2c246e35c

View file

@ -2681,7 +2681,15 @@ Also resets scanner functions."
"Updating speedbar to special mode: %s...done"
major-mode)
(speedbar-message nil))))
(speedbar-update-localized-contents))
;; Update all the contents if directories change!
(unless (and (or (member major-mode speedbar-ignored-modes)
(eq af (speedbar-current-frame))
(not (buffer-file-name)))
;; Always update for GUD.
(not (string-equal "GUD"
speedbar-initial-expansion-list-name)))
(speedbar-update-localized-contents)))
(select-frame af))
;; Now run stealthy updates of time-consuming items
(speedbar-stealthy-updates)))))