emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/posframe 3eaf066 04/10: * posframe.el (posframe-show):


From: Feng Shu
Subject: [elpa] externals/posframe 3eaf066 04/10: * posframe.el (posframe-show): Make sure not hide buffer's content for scroll down.
Date: Wed, 13 Mar 2019 08:50:25 -0400 (EDT)

branch: externals/posframe
commit 3eaf066ae8e7bea89ac347c095c7fb7b8d42fcbd
Author: Feng Shu <address@hidden>
Commit: Feng Shu <address@hidden>

    * posframe.el (posframe-show): Make sure not hide buffer's content for 
scroll down.
---
 posframe.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/posframe.el b/posframe.el
index f2a9e07..45e9fcd 100644
--- a/posframe.el
+++ b/posframe.el
@@ -502,6 +502,9 @@ you can use `posframe-delete-all' to delete all posframes."
       (posframe--run-refresh-timer
        posframe refresh height min-height width min-width)
 
+      ;; Make sure not hide buffer's content for scroll down.
+      (set-window-point (frame-root-window posframe--frame) 0)
+
       ;; Do not return anything.
       nil)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]