Mercurial > emacs
comparison src/filelock.c @ 25662:0a7261c1d487
Use XCAR, XCDR, and XFLOAT_DATA instead of explicit member access.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Mon, 13 Sep 1999 02:23:04 +0000 |
parents | 824b89fca192 |
children | e6246adc8a35 |
comparison
equal
deleted
inserted
replaced
25661:a6e2ae7964fb | 25662:0a7261c1d487 |
---|---|
621 unlock_all_files () | 621 unlock_all_files () |
622 { | 622 { |
623 register Lisp_Object tail; | 623 register Lisp_Object tail; |
624 register struct buffer *b; | 624 register struct buffer *b; |
625 | 625 |
626 for (tail = Vbuffer_alist; GC_CONSP (tail); tail = XCONS (tail)->cdr) | 626 for (tail = Vbuffer_alist; GC_CONSP (tail); tail = XCDR (tail)) |
627 { | 627 { |
628 b = XBUFFER (XCONS (XCONS (tail)->car)->cdr); | 628 b = XBUFFER (XCDR (XCAR (tail))); |
629 if (STRINGP (b->file_truename) && BUF_SAVE_MODIFF (b) < BUF_MODIFF (b)) | 629 if (STRINGP (b->file_truename) && BUF_SAVE_MODIFF (b) < BUF_MODIFF (b)) |
630 { | 630 { |
631 register char *lfname; | 631 register char *lfname; |
632 | 632 |
633 MAKE_LOCK_NAME (lfname, b->file_truename); | 633 MAKE_LOCK_NAME (lfname, b->file_truename); |