[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22150: 25.1.50; (bury-buffer (current-buffer)) does NOT bury buffer
From: |
Andreas Schwab |
Subject: |
bug#22150: 25.1.50; (bury-buffer (current-buffer)) does NOT bury buffer |
Date: |
Sat, 12 Dec 2015 12:14:05 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Marco Wahl <marcowahlsoft@gmail.com> writes:
> Evaluate (bury-buffer (current-buffer)) in a buffer, e.g. *scratch*.
>
> Expectation: The buffer has been buried.
> Reality: The buffer has NOT been buried.
The buffer is buried, but not removed from the selected window, as
documented:
"Also, if BUFFER-OR-NAME is nil or omitted, remove the current buffer
from the selected window if it is displayed there."
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."