From 2f5910325d4829b6864123277ef30bffcb346f0a Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Fri, 28 Dec 2018 21:41:16 -0500 Subject: [PATCH] Move position of "at-point" popup to the left This way the childframe is still under the point when the cursor type is bar --- eldoc-box.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eldoc-box.el b/eldoc-box.el index 56c031f..0370894 100644 --- a/eldoc-box.el +++ b/eldoc-box.el @@ -220,7 +220,7 @@ Position is calculated base on WIDTH and HEIGHT of chilframe text window" ;; space on the right of the pos is not enough ;; put to left (max 0 (- x width)) - (+ x en)) + x) (if (< (- (frame-inner-height) height) y) ;; space under the pos is not enough ;; put above