GNU bug report logs -
#64497
30.0.50; `other-buffer' returns current buffer
Previous Next
Reported by: hugo <at> heagren.com
Date: Thu, 6 Jul 2023 16:18:02 UTC
Severity: normal
Tags: moreinfo, unreproducible
Found in version 30.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
> Date: Thu, 06 Jul 2023 17:16:21 +0100
> From: hugo <at> heagren.com
>
> I've just built Emacs from master. My binding to
> `mode-line-other-buffer' wasn't doing what it should, so I investigated.
> On my machine, the form `(other-buffer)' returns the current buffer.
>
> I notice that a recent change to `other-buffer' relates to scratch
> buffers (though my C isn't good enough to know what it really does). I
> have tested this in a scratch buffer, and there too `(other-buffer)'
> returns the current buffer (i.e. *scratch*).
>
> `(other-buffer (current-buffer))' behaves as it -- i.e. returns a buffer
> other than the current buffer.
I cannot reproduce this with the current master branch, FWIW.
This bug report was last modified 1 year and 68 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.