GNU bug report logs - #76371
31.0.50; M-% -> void variable

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Mon, 17 Feb 2025 20:20:02 UTC

Severity: normal

Found in version 31.0.50

Fixed in version 31.1

Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Stefan Kangas <stefankangas <at> gmail.com>, 76371 <at> debbugs.gnu.org
Subject: bug#76371: 31.0.50; M-% -> void variable 
Date: Tue, 18 Feb 2025 16:57:14 +0100
Po Lu <luangruo <at> yahoo.com> writes:

> Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:
>
>> Po Lu <luangruo <at> yahoo.com> writes:
>>
>>> Please test:
>>>
>>> diff --git a/lisp/replace.el b/lisp/replace.el
>>> index b1b417b226f..8c7b3095219 100644
>>> --- a/lisp/replace.el
>>> +++ b/lisp/replace.el
>>> @@ -2880,7 +2880,9 @@ perform-replace
>>>           (region-filter nil)
>>>  
>>>           ;; Disable text conversion during the replacement operation.
>>> -         (old-text-conversion-style overriding-text-conversion-style)
>>> +         (old-text-conversion-style
>>> +          (and (boundp 'overriding-text-conversion-style)
>>> +               overriding-text-conversion-style))
>>>           overriding-text-conversion-style
>>>  
>>>           ;; Data for the next match.  If a cons, it has the same format as
>>
>> Could we have a defvar somewhere, for the case textconv.c isn't
>> compiled?
>
> No idea.  I've just checked in a different fix that won't pollute
> o-t-c-s with a binding.

Thanks, works for me, closing.




This bug report was last modified 143 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.