|
From: | Amos Bird |
Subject: | Re: How can I remove effects of text properties in 'before-string |
Date: | Mon, 23 Oct 2017 01:07:04 +0800 |
User-agent: | mu4e 0.9.19; emacs 25.3.1 |
Hi, could you show the elisp code that resolves this? I don't quite understand how to give a distinct face.
regards, Eli Zaretskii <eliz@gnu.org> writes:
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.
-- Amos Bird amosbird@gmail.com
[Prev in Thread] | Current Thread | [Next in Thread] |