Revert last workaround since it doesn't work

This reverts commit 67ec0b9fd6.
This commit is contained in:
Yuan Fu 2023-08-09 21:38:26 -07:00
parent 67ec0b9fd6
commit a9d54abb6c
No known key found for this signature in database
GPG Key ID: 56E19BC57664A442

View File

@ -431,10 +431,7 @@ FRAME is the childframe, WINDOW is the primary window."
(pos (funcall eldoc-box-position-function width height))) (pos (funcall eldoc-box-position-function width height)))
(set-frame-size frame width height t) (set-frame-size frame width height t)
;; move position ;; move position
(set-frame-position frame (car pos) (cdr pos)) (set-frame-position frame (car pos) (cdr pos))))
;; Maybe forcing redisplay can make sure the new frame size is
;; applied (issue#68).
(redisplay t))
(defun eldoc-box--inhibit-childframe-for (sec) (defun eldoc-box--inhibit-childframe-for (sec)
"Inhibit display of childframe for SEC seconds after Emacs is idle again." "Inhibit display of childframe for SEC seconds after Emacs is idle again."