GNU bug report logs -
#34771
27.0.50; object is a window sometimes although it should be a buffer in conditional display spec
Previous Next
Reported by: Tassilo Horn <tsdh <at> gnu.org>
Date: Wed, 6 Mar 2019 17:43:01 UTC
Severity: normal
Found in version 27.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> > The documentation is correct, but the code had a bug. I hope I
>> > fixed it now.
>>
>> I can't tell. It seems you haven't pushed that change yet.
>
> Oops, sorry. It was a busy evening after an even busier day. (I did
> say "git push", but failed to notice that the push was rejected by the
> upstream repository.)
>
> I pushed it now, please take a look.
Yes, it works now.
> Btw, if you need your code to work with versions of Emacs before this
> bugfix, you can use the following kludgey workaround: if OBJECT is a
> window, that stands for the current buffer.
My code has to get the window in order to get the font used to display
BUFFER-POSITION so this bug had positive side-effects for my use-case.
I'll let it in.
Bye,
Tassilo
This bug report was last modified 6 years and 81 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.