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


Message #17 received at 76371 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: Stefan Kangas <stefankangas <at> gmail.com>, 76371 <at> debbugs.gnu.org
Subject: Re: bug#76371: 31.0.50; M-% -> void variable
Date: Tue, 18 Feb 2025 20:58:37 +0800
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.




This bug report was last modified 94 days ago.

Previous Next


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