diff --git a/eldoc-box.el b/eldoc-box.el index 9fa4d7e..57086b2 100644 --- a/eldoc-box.el +++ b/eldoc-box.el @@ -241,9 +241,7 @@ WINDOW nil means use selected window." ;; because childframe coordinate is relative to native frame (x (car point-pos)) (y (cdr point-pos)) - ;; (en (frame-char-width)) - (em (frame-char-height)) - (frame-geometry (frame-geometry))) + (em (frame-char-height))) (cons (if (< (- (frame-inner-width) width) x) ;; space on the right of the pos is not enough ;; put to left