(speedbar-timer-fn): Revert to old behaviour when not
in GUD mode.
This commit is contained in:
parent
0a43e42719
commit
f2c246e35c
1 changed files with 9 additions and 1 deletions
|
@ -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)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue