|
From: | Amos Bird |
Subject: | Re: How can I remove effects of text properties in 'before-string |
Date: | Mon, 23 Oct 2017 01:07:42 +0800 |
User-agent: | mu4e 0.9.19; emacs 25.3.1 |
Hi, how can I use that to set margin text? Emanuel Berg <moasen@zoho.com> writes:
emacs -Q (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)I don't know what you're up to but in general you can use `buffer-substring-no-properties'.
-- Amos Bird amosbird@gmail.com
[Prev in Thread] | Current Thread | [Next in Thread] |