[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can I remove effects of text properties in 'before-string
From: |
Eli Zaretskii |
Subject: |
Re: How can I remove effects of text properties in 'before-string |
Date: |
Sun, 22 Oct 2017 19:02:12 +0300 |
> From: Amos Bird <amosbird@gmail.com>
> Date: Sun, 22 Oct 2017 15:25:31 +0800
>
> (set-window-margins (get-buffer-window) 20 0)
> (overlay-put (make-overlay (point) (point)) 'before-string
> (propertize "." 'display `((margin left-margin) ,"Hi there!")))
> (hl-line-mode)
>
> The string "Hi there!" is also highlighted. How can I disable
> that?
Give the string a distinct face.
- How can I remove effects of text properties in 'before-string, Amos Bird, 2017/10/22
- Re: How can I remove effects of text properties in 'before-string, Amos Bird, 2017/10/22
- Re: How can I remove effects of text properties in 'before-string, Eli Zaretskii, 2017/10/22
- Re: How can I remove effects of text properties in 'before-string, Amos Bird, 2017/10/22
- Re: How can I remove effects of text properties in 'before-string, Eli Zaretskii, 2017/10/22
- Re: How can I remove effects of text properties in 'before-string, Amos Bird, 2017/10/22
- Re: How can I remove effects of text properties in 'before-string, Eli Zaretskii, 2017/10/22