* eldoc-box.el: Force rediplay after changing childframe size.
Hopefully this fixes the problem brought by the workaround fixing issue#68.
This commit is contained in:
parent
b5aa481432
commit
67ec0b9fd6
@ -431,7 +431,10 @@ 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."
|
||||||
|
Loading…
Reference in New Issue
Block a user