I propose the following small improvement.

diff --git a/lisp/bbdb.el b/lisp/bbdb.el
index 36b3f913..ccd77a84 100644
--- a/lisp/bbdb.el
+++ b/lisp/bbdb.el
@@ -1032,8 +1032,8 @@ (defcustom bbdb-message-pop-up nil
 (defcustom bbdb-pop-up-window-size 0.5
   "Vertical size of a MUA pop-up BBDB window (vertical split).
 If it is an integer number, it is the number of lines used by BBDB.
-If it is a fraction between 0 and 1, it is the fraction of the tallest existing
-window that BBDB will take over."
+If it is a fraction between 0 and 1.0 (inclusive), it is the fraction
+of the tallest existing window that BBDB will take over."
   :group 'bbdb-mua
   :type 'number)
 
@@ -2578,7 +2578,7 @@ (defun bbdb-pop-up-buffer (&optional select horiz-p)
              (if (> (window-height window) (window-height tallest-window))
                  (setq tallest-window window)))
            (select-window tallest-window)   ; select it and split it...
-           (if (= bbdb-pop-up-window-size 1)
+           (if (eql bbdb-pop-up-window-size 1.0)
                ;; select `bbdb-buffer-name'
                (switch-to-buffer (get-buffer-create bbdb-buffer-name))
              (condition-case nil ; `split-window' might fail



------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to