diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-07-04 18:34:40 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-07-04 18:34:40 +0300 |
commit | 3a9d6296b35e5317c497674d5725eb52699bd3b8 (patch) | |
tree | e13372abfb6aec9edee8e5a0400cb6807eb0a77c /lisp/replace.el | |
parent | 178b2f590982e37991bc72b08a9e02b64d750601 (diff) | |
download | emacs-3a9d6296b35e5317c497674d5725eb52699bd3b8.tar.gz emacs-3a9d6296b35e5317c497674d5725eb52699bd3b8.tar.bz2 emacs-3a9d6296b35e5317c497674d5725eb52699bd3b8.zip |
Avoid crashes when buffer modification hooks clobber match data
* src/search.c (Freplace_match): Error out if buffer modification
hooks triggered by buffer changes in replace_range, upcase-region,
and upcase-initials-region clobber the match data needed to be
adjusted for the replacement. (Bug#23869)
Diffstat (limited to 'lisp/replace.el')
0 files changed, 0 insertions, 0 deletions