Mercurial > emacs
comparison src/editfns.c @ 9809:bc6042c687a0
(Fdecode_time): Change one XFASTINT to XINT.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 01 Nov 1994 21:06:55 +0000 |
parents | 7003b5184aec |
children | bc352c8f079c |
comparison
equal
deleted
inserted
replaced
9808:4c43c9dbe130 | 9809:bc6042c687a0 |
---|---|
716 list_args[3] = XFASTINT (decoded_time->tm_mday); | 716 list_args[3] = XFASTINT (decoded_time->tm_mday); |
717 list_args[4] = XFASTINT (decoded_time->tm_mon + 1); | 717 list_args[4] = XFASTINT (decoded_time->tm_mon + 1); |
718 list_args[5] = XFASTINT (decoded_time->tm_year + 1900); | 718 list_args[5] = XFASTINT (decoded_time->tm_year + 1900); |
719 list_args[6] = XFASTINT (decoded_time->tm_wday); | 719 list_args[6] = XFASTINT (decoded_time->tm_wday); |
720 list_args[7] = (decoded_time->tm_isdst)? Qt : Qnil; | 720 list_args[7] = (decoded_time->tm_isdst)? Qt : Qnil; |
721 list_args[8] = XFASTINT (decoded_time->tm_gmtoff); | 721 list_args[8] = XINT (decoded_time->tm_gmtoff); |
722 return Flist (9, list_args); | 722 return Flist (9, list_args); |
723 } | 723 } |
724 | 724 |
725 DEFUN ("current-time-string", Fcurrent_time_string, Scurrent_time_string, 0, 1, 0, | 725 DEFUN ("current-time-string", Fcurrent_time_string, Scurrent_time_string, 0, 1, 0, |
726 "Return the current time, as a human-readable string.\n\ | 726 "Return the current time, as a human-readable string.\n\ |