changeset 9949:e9d341f235ee

(unlock_all_files): Use the new type-test macros.
author Karl Heuer <kwzh@gnu.org>
date Tue, 15 Nov 1994 23:54:02 +0000
parents 982820033564
children 605bd2a8f816
files src/filelock.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/filelock.c	Tue Nov 15 23:52:43 1994 +0000
+++ b/src/filelock.c	Tue Nov 15 23:54:02 1994 +0000
@@ -378,8 +378,7 @@
   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))