]> git.eshelyaron.com Git - emacs.git/commit
Make 'inhibit-changing-match-data' obsolete and adjust callers
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 7 Oct 2021 18:46:50 +0000 (20:46 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 7 Oct 2021 18:46:50 +0000 (20:46 +0200)
commita26824e5cbc454a3614b32d131bbdd74f3c03735
tree0fc6b627711019d95f9e5ca8aef685257f91fc31
parentcb86d1d0def61950a149445cbbde829a30e210c4
Make 'inhibit-changing-match-data' obsolete and adjust callers

* doc/lispref/searching.texi (Regexp Search):
(POSIX Regexps): Document this.
* lisp/subr.el (inhibit-changing-match-data): Make obsolete.
(looking-at-p): Adjust call.

* lisp/vc/vc-hg.el (vc-hg--raw-dirstate-search):
(vc-hg--ignore-patterns-ignored-p):
(vc-hg--cached-dirstate-search): Don't use
`inhibit-changing-match-data'.

* src/minibuf.c (Ftry_completion):
(Fall_completions):
(Ftest_completion): Adjust Fstring_match calls.

* src/search.c (looking_at_1): Pass in modify_data.
(Flooking_at): Add optional inhibit-modify parameter.
(string_match_1): Pass in modify_data.
(Fstring_match):
(Fposix_looking_at, Fposix_string_match): Add optional
inhibit-modify parameter.
doc/lispref/searching.texi
etc/NEWS
lisp/subr.el
lisp/vc/vc-hg.el
src/minibuf.c
src/search.c