[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master dde0320: * lisp/replace.el (replace-highlight):
From: |
Juri Linkov |
Subject: |
Re: [Emacs-diffs] master dde0320: * lisp/replace.el (replace-highlight): Add save-match-data (bug#36328) |
Date: |
Mon, 08 Jul 2019 01:18:21 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>> - (isearch-lazy-highlight-new-loop range-beg range-end))))
>> + (save-match-data
>> + ;; Preserve match-data for perform-replace since
>
> Then the save-match-data should be in perform-replace, not here,
> I think.
This means code duplication, but ok, this will make code cleaner.