Path: utzoo!telly!ddsw1!spl1!philabs!ttidca!csun!sm.unisys.com!oberon!bloom-beacon!tut.cis.ohio-state.edu!EDDIE.MIT.EDU!think!compass!worley From: think!compass!worley@EDDIE.MIT.EDU (Dale Worley) Newsgroups: gnu.emacs Subject: Improvement to list-buffers Message-ID: <8810102135.AA16184@galaxy.compass.com> Date: 10 Oct 88 21:35:24 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 30 The following change to buffer.c changes list-buffers so that under "File" it will list the directory being edited by a Dired buffer. Under vanilla 18.52, the File column is blank for a Dired buffer. Hopefully FSF will put this in version 19. *** buffer.c Mon Oct 10 17:30:49 1988 --- buffer.c.old Mon Oct 10 17:28:07 1988 *************** *** 1013,1021 **** Findent_to (col3, minspace); if (!NULL (b->filename)) Fprinc (b->filename, Qnil); - else if (strcmp (XSTRING (b->mode_name)->data, "Dired") == 0 && - !NULL (b->directory)) - Fprinc (b->directory, Qnil); write_string ("\n", -1); } --- 1013,1018 ---- For example: MR Buffer Size Mode File -- ------ ---- ---- ---- .* *mail* 145 Mail * *Buffer List* 0 Buffer Menu *% toys 1386 Dired /extra/compas1a/worley/toys/ * *scratch* 28 Lisp Interaction Dale