summaryrefslogtreecommitdiff
path: root/etc/emacs-buffer.gdb
diff options
context:
space:
mode:
authorNoah Friedman <friedman@splode.com>2005-06-10 22:39:45 +0000
committerNoah Friedman <friedman@splode.com>2005-06-10 22:39:45 +0000
commit58f498fede30897ab0808f758a6c1db1b9f06da9 (patch)
tree3dff4dc1748cfba83d9698121028a1d027326e2b /etc/emacs-buffer.gdb
parentb5305167d412a51265145d230c3b495b5d7c02bd (diff)
downloademacs-58f498fede30897ab0808f758a6c1db1b9f06da9.tar.gz
(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.
Diffstat (limited to 'etc/emacs-buffer.gdb')
-rw-r--r--etc/emacs-buffer.gdb10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/emacs-buffer.gdb b/etc/emacs-buffer.gdb
index cd0bf0dd59d..c4f8eef481d 100644
--- a/etc/emacs-buffer.gdb
+++ b/etc/emacs-buffer.gdb
@@ -116,13 +116,13 @@ define ybuffer-list
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++