Tweak the pop at point position

This commit is contained in:
Yuan Fu 2018-12-20 10:31:14 -05:00
parent 1733e35085
commit f7b4806694
No known key found for this signature in database
GPG Key ID: 1CF5ECABEC37A901

View File

@ -183,7 +183,7 @@ Position is calculated base on WIDTH and HEIGHT of chilframe text window"
(- (frame-outer-width (selected-frame)) width)) (- (frame-outer-width (selected-frame)) width))
50) 50)
(if (< (- (frame-outer-height (selected-frame)) height) (cdr point-pos)) (if (< (- (frame-outer-height (selected-frame)) height) (cdr point-pos))
(- (cdr point-pos) height) (- (cdr point-pos) height 60)
(- (cdr point-pos) 20))))) (- (cdr point-pos) 20)))))
(defun eldoc-box--get-frame (buffer) (defun eldoc-box--get-frame (buffer)