emacs-devel
[Top][All Lists]
Advanced

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

Re: How to remove the "read-only" property...


From: Davin Pearson
Subject: Re: How to remove the "read-only" property...
Date: Sun, 28 Aug 2022 19:47:14 +1200

(insert (prin1-to-string emacs-version)) => "28.1"
(insert (prin1-to-string system-type))     => gnu/linux

Should I upgrade to Emacs 29.1 ?


On Sun, 28 Aug 2022 at 19:40, Emanuel Berg <incal@dataswamp.org> wrote:
Davin Pearson wrote:

> (set-text-properties (point-at-bol) (point-at-eol) '(read-only t))

FYI

  This function is obsolete since 29.1; use
  ‘line-beginning-position’ instead.

  This function is obsolete since 29.1; use
  ‘line-end-position’ instead.

--
underground experts united
https://dataswamp.org/~incal



reply via email to

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