[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Obsolete variable in cc-defs.el
From: |
Stefan Monnier |
Subject: |
Re: Obsolete variable in cc-defs.el |
Date: |
Mon, 17 Oct 2022 17:59:13 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> That is a mistake in declaring inhibit-point-motion-hooks obsolete. As
> long as the properties point_entered and point_left exist and work
> (regardless of whether they are declared obsolete),
> inhibit-point-motion-hooks is required. It's use shouldn't (yet)
> generate any warnings.
BTW, your code only uses `inhibit-point-motion-hooks` explicitly in
Emacs<23.2. After that it relies on
`with-silent-modifications` instead. So the byte-compile obsolescence
warning only comes from
(cc-bytecomp-defvar inhibit-point-motion-hooks)
which your code can't need when `with-silent-modifications` is `fboundp`.
Stefan