We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68fc79b commit 9c9248aCopy full SHA for 9c9248a
line-reminder.el
@@ -208,7 +208,9 @@ See macro `with-selected-window' description for arguments WINDOW and BODY."
208
209
(defun line-reminder--walk-window-lines (callback)
210
"Walk through display window lines and execute CALLBACK on each line."
211
- (let ((wend (window-end nil t))
+ (let ((wend (or (window-parameter nil 'window-end)
212
+ (set-window-parameter nil 'window-end
213
+ (window-end nil t))))
214
(wstart (window-start))
215
(line)
216
(break))
@@ -584,6 +586,7 @@ and END."
584
586
585
587
(defun line-reminder--post-command ()
588
"Post command."
589
+ (set-window-parameter nil 'window-end nil)
590
(line-reminder--render-post-command)
591
(line-reminder--undo-post-command))
592
0 commit comments