]> git.eshelyaron.com Git - emacs.git/commit
Better match-data handling in perform-replace
authorJuri Linkov <juri@linkov.net>
Thu, 11 Jul 2019 21:35:21 +0000 (00:35 +0300)
committerJuri Linkov <juri@linkov.net>
Thu, 11 Jul 2019 21:35:21 +0000 (00:35 +0300)
commit53fb021acc9cae6dcfc3cbe2004a070036e5c4e7
treee1ac27bab58e9d4229467ef64758c6e555a35b9e
parent0b0ed31df9c7c1b74b9f1ac75223ad5158c2b408
Better match-data handling in perform-replace

* lisp/replace.el (perform-replace): Don't wrap replace-highlight
in save-match-data.  Use `(nth 0 real-match-data)' instead of
`(match-beginning 0)' after replace-highlight.  (Bug#36328)
lisp/replace.el