Commit 4e6c9d9e authored by Karl Heuer's avatar Karl Heuer
Browse files

(unlock_all_files): Use the new type-test macros.

parent 34ca5317
......@@ -378,8 +378,7 @@ unlock_all_files ()
register Lisp_Object tail;
register struct buffer *b;
for (tail = Vbuffer_alist; XGCTYPE (tail) == Lisp_Cons;
tail = XCONS (tail)->cdr)
for (tail = Vbuffer_alist; GC_CONSP (tail); tail = XCONS (tail)->cdr)
{
b = XBUFFER (XCONS (XCONS (tail)->car)->cdr);
if (STRINGP (b->filename) && b->save_modified < BUF_MODIFF (b))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment