Mercurial > emacs
changeset 63292:5ca9652ec98b
(ybuffer-list): Don't use $filename; can't use char as placeholder when
buffer has no file name and process is still live. Use different printf
cases instead.
author | Noah Friedman <friedman@splode.com> |
---|---|
date | Fri, 10 Jun 2005 22:39:12 +0000 |
parents | e7539bdc68d1 |
children | d05ea0ea031a |
files | etc/emacs-buffer.gdb |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/emacs-buffer.gdb Fri Jun 10 22:20:25 2005 +0000 +++ b/etc/emacs-buffer.gdb Fri Jun 10 22:39:12 2005 +0000 @@ -116,13 +116,13 @@ if $buf->filename != Qnil ygetptr $buf->filename - set $filename = ((struct Lisp_String *) $ptr)->data + printf "%2d %c %9d %-20s %-10s %s\n", \ + $i, $modp, ($buf->text->z_byte - 1), $name, $mode, \ + ((struct Lisp_String *) $ptr)->data else - set $filename = ' ' + printf "%2d %c %9d %-20s %-10s\n", \ + $i, $modp, ($buf->text->z_byte - 1), $name, $mode end - - printf "%2d %c %9d %-20s %-10s %s\n", \ - $i, $modp, ($buf->text->z_byte - 1), $name, $mode, $filename end set $i++