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

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

[elpa] master 83dd4f5 13/50: comment in on-screen-make-narrow-line-overl


From: Michael Heerdegen
Subject: [elpa] master 83dd4f5 13/50: comment in on-screen-make-narrow-line-overlay
Date: Mon, 09 Nov 2015 03:35:43 +0000

branch: master
commit 83dd4f559fa22adfd3c94e61f24dd5f3af5aa922
Author: Michael Heerdegen <address@hidden>
Commit: Michael Heerdegen <address@hidden>

    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

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