[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
list-buffers-noselect: `when' should be `and'
From: |
Drew Adams |
Subject: |
list-buffers-noselect: `when' should be `and' |
Date: |
Fri, 16 Feb 2007 16:08:51 -0800 |
`when' should be `and' in this code, for clarity. I don't think this
has an effect on functioning, but `when' should generally not be used
when its value is important, as in this case. Here, the return value
is an argument to function `buffer-list'.
(dolist (buffer (or buffer-list
(buffer-list
(when Buffer-menu-use-frame-buffer-list
(selected-frame)))))
...)
In GNU Emacs 22.0.93.1 (i386-mingw-nt5.1.2600)
of 2007-01-25 on LENNART-69DE564
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/g/include'
- list-buffers-noselect: `when' should be `and',
Drew Adams <=