diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-04-21 17:43:17 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-04-21 17:43:17 -0400 |
commit | 9c10436944ee2d27a19bf0220828db5dc4aeca1f (patch) | |
tree | 50746af3320ff1f7451e827b84c900cc4081dde5 /lisp/speedbar.el | |
parent | 622eef687cedb8fbaf8ca529239f46968c2487f7 (diff) | |
download | emacs-9c10436944ee2d27a19bf0220828db5dc4aeca1f.tar.gz |
* lisp/dframe.el (dframe-get-focus): Remove `hook' argument.
* lisp/speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
Fixes: debbugs:17311
Diffstat (limited to 'lisp/speedbar.el')
-rw-r--r-- | lisp/speedbar.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/speedbar.el b/lisp/speedbar.el index c425d777306..084767893e4 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el @@ -1076,9 +1076,9 @@ If the selected frame is not speedbar, then speedbar frame is selected. If the speedbar frame is active, then select the attached frame." (interactive) (speedbar-reset-scanners) - (dframe-get-focus 'speedbar-frame 'speedbar-frame-mode - (lambda () (let ((speedbar-update-flag t)) - (speedbar-timer-fn))))) + (dframe-get-focus 'speedbar-frame 'speedbar-frame-mode) + (let ((speedbar-update-flag t)) + (speedbar-timer-fn))) (defsubst speedbar-frame-width () "Return the width of the speedbar frame in characters. |