Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!IFI.UIO.NO!hallvard From: hallvard@IFI.UIO.NO (Hallvard B Furuseth) Newsgroups: gnu.emacs.bug Subject: Bug in replace-buffer-in-windows Message-ID: <8910210039.AA02656@sigfar.uio.no> Date: 21 Oct 89 00:39:56 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 18 Emacs-18.55.1: If BUFFER is displayed in some window, and (other-buffer BUFFER) is not displayed, (replace-buffer-in-windows BUFFER) or f.ex (kill-buffer BUFFER) will set the current buffer to (other-buffer BUFFER). So, this returns #: (generate-new-buffer "*foo*") ;; A buffer which is not displayed (or selected) (let ((buf (generate-new-buffer "*bar*"))) (display-buffer buf) (kill-buffer buf) (current-buffer)) Hallvard Furuseth University of Oslo hallvard@ifi.uio.no