]> git.eshelyaron.com Git - emacs.git/commit
subr.el (inhibit-point-motion-hooks): Mark it as obsolete
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Oct 2022 18:15:40 +0000 (14:15 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Oct 2022 18:15:40 +0000 (14:15 -0400)
commitd6831d1b0a18882d688a842721dd1592884a06e2
tree215be264cf13bcf2fd434b212bd722b5c1c18c77
parente3824f0a3189d0902d64a70ae9c82ff1240aed5f
subr.el (inhibit-point-motion-hooks): Mark it as obsolete

When Emacs-25 changed the default of `inhibit-point-motion-hooks` to t,
/etc/NEWS declared it as obsolete and so did its docstring, but
it was not marked as obsolete so as not to emit too many warnings
in code where it was impractical to remove the let-binding while
keeping backward compatibility with older Emacsen.
Those backward compatibility issues are not serious any more now that
Emacs-25 is itself considered old.

* lisp/subr.el (inhibit-point-motion-hooks): Mark it as obsolete.
* src/textprop.c (inhibit-point-motion-hooks): Don't mention it being
obsolete in the docstring any more.
* lisp/simple.el (line-move-1, line-move-finish): Silence warnings.
lisp/simple.el
lisp/subr.el
src/textprop.c