bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45607: 27.1; compiled replace-string breaks repeat-complex-command


From: Juri Linkov
Subject: bug#45607: 27.1; compiled replace-string breaks repeat-complex-command
Date: Sun, 04 Sep 2022 19:57:01 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>>>   (replace-string "a" "b" nil (if (use-region-p) (region-beginning))
>>> (if (use-region-p) (region-end)))
>>>   ->
>>>   (replace-string "a" "b" nil (use-region-beginning) (use-region-end))
>>
>> OK, so I've now done this.  So somebodyâ„¢ should go through the code base
>> and adjust the code and add the new `declare' forms.  😀
>
> Interesting, there are not too many uses of this pattern,
> and most of them are related to replacement commands.
> Ok, I could replace them with adding interactive-args.

Done, with adding also 'use-region-noncontiguous-p'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]