emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master d296524 2/2: Fix type


From: Stefan Monnier
Subject: [elpa] master d296524 2/2: Fix type
Date: Tue, 27 Feb 2018 14:24:33 -0500 (EST)

branch: master
commit d296524b5582ca18b90a48f9992b39026f7b95e9
Author: Feng Shu <address@hidden>
Commit: Stefan Monnier <address@hidden>

    Fix type
    
    * posframe.el (posframe-poshandler-point-bottom-left-corner): buttom -> 
bottom.
---
 posframe.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/posframe.el b/posframe.el
index 0ed9c42..066df4e 100644
--- a/posframe.el
+++ b/posframe.el
@@ -578,11 +578,11 @@ Optional argument FONT-HEIGHT ."
                       (or (cdr (posn-object-x-y posn-top-left)) 0))
                    y-pixel-offset))
          (font-height (or font-height (plist-get info :font-height)))
-         (y-buttom (+ y-top font-height)))
+         (y-bottom (+ y-top font-height)))
     (cons (max 0 (min x (- xmax (or posframe-width 0))))
-          (max 0 (if (> (+ y-buttom (or posframe-height 0)) ymax)
+          (max 0 (if (> (+ y-bottom (or posframe-height 0)) ymax)
                      (- y-top (or posframe-height 0))
-                   y-buttom)))))
+                   y-bottom)))))
 
 (defun posframe-poshandler-point-top-left-corner (info)
   "Posframe's position hanlder.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]