emacs-devel
[Top][All Lists]
Advanced

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

Re: master 370d403: Explain in the manual how to make `cursor-intangible


From: Stefan Monnier
Subject: Re: master 370d403: Explain in the manual how to make `cursor-intangible' work
Date: Sun, 14 Nov 2021 11:05:47 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> +@lisp
> +(insert
> + (propertize "xxxx" 'cursor-intangible t)
> + (propertize "x" 'cursor-intangible t 'rear-nonsticky t))
> +@end lisp

Then again, you can also do:

    (insert
     (propertize "xxxx" 'cursor-intangible t)
     (propertize "x"))

or

    (insert
     (propertize "xxxxx" 'cursor-intangible t 'rear-nonsticky t))

or even

    (insert
     (propertize "xxxxx" 'cursor-intangible t 'rear-nonsticky 
'(cursor-intangible)))


-- Stefan




reply via email to

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