diff --git a/ChangeLog b/ChangeLog index 616832d..6bbbe47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-12-28 Sam Steingold <s...@gnu.org> + * lisp/bbdb.el (bbdb-pop-up-window): + Shrink the vertical *BBDB* window when possible. + 2011-12-27 Sam Steingold <s...@gnu.org> * lisp/bbdb-mua.el (bbdb-update-records): Use `symbol-value' instead of `eval' for symbols. diff --git a/lisp/bbdb.el b/lisp/bbdb.el index 4199d61..87f6c9f 100644 --- a/lisp/bbdb.el +++ b/lisp/bbdb.el @@ -3047,7 +3047,8 @@ will be split vertically rather than horizontally." (window-height tallest-window))))) (select-window (next-window)) ; goto the bottom of the two... (let (pop-up-windows) ; make it display *BBDB*... - (switch-to-buffer (get-buffer-create bbdb-buffer-name)))) + (switch-to-buffer (get-buffer-create bbdb-buffer-name)) + (shrink-window-if-larger-than-buffer))) (error (pop-to-buffer (get-buffer-create bbdb-buffer-name)))) (unless select (select-window selected-window) ; original window we were in
-- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.memritv.org http://dhimmi.com http://memri.org http://openvotingconsortium.org http://iris.org.il http://camera.org If a train station is a place where a train stops, what's a workstation? ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/