branch: externals/ebdb commit fa65397bae97ec58efdbda1fdab2fd3484ce7e81 Author: Eric Abrahamsen <e...@ericabrahamsen.net> Commit: Eric Abrahamsen <e...@ericabrahamsen.net>
Fix bug in window popping-up * ebdb-com.el (ebdb-pop-up-window): The setting of `buffer-window' was supposed to belong to the THEN branch. --- ebdb-com.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ebdb-com.el b/ebdb-com.el index 04609c81c9..d1bf15cffa 100644 --- a/ebdb-com.el +++ b/ebdb-com.el @@ -1262,8 +1262,9 @@ popped up from." (if (not (or split-window size)) ;; Not splitting, but buffer isn't visible, just take up ;; the whole window. - (pop-to-buffer-same-window buf) - (setq buffer-window (get-buffer-window buf t)) + (progn + (pop-to-buffer-same-window buf) + (setq buffer-window (get-buffer-window buf t))) ;; Otherwise split. (setq buffer-window