branch: master
commit 83dd4f559fa22adfd3c94e61f24dd5f3af5aa922
Author: Michael Heerdegen <michael_heerde...@web.de>
Commit: Michael Heerdegen <michael_heerde...@web.de>

    comment in on-screen-make-narrow-line-overlay
---
 on-screen.el |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/on-screen.el b/on-screen.el
index b7f5934..00d5450 100644
--- a/on-screen.el
+++ b/on-screen.el
@@ -404,6 +404,11 @@ remember nil for the timer."
               (make-overlay (progn (goto-char pos) 
(on-screen-beginning-of-line) (point))
                             (progn (goto-char pos) (on-screen-end-of-line)     
  (point))))))
     (overlay-put ov 'face 'on-screen-narrow-line)
+    ;; The following is necessary to get a line spanning the entire
+    ;; window width, because underlining is only applied to text - a
+    ;; problem especially for empty lines.  However this hides any
+    ;; other highlighting there, e.g. from stripe-buffer or
+    ;; hl-line-mode.  I think there's nothing I can do about that.
     (overlay-put ov 'after-string (propertize "foo"
                                               'face 'on-screen-narrow-line
                                               'display `(space :align-to 
,(window-width win))

Reply via email to