[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/fileio.c,v [EMACS_22_BASE]
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/fileio.c,v [EMACS_22_BASE] |
Date: |
Fri, 03 Aug 2007 03:38:59 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Richard M. Stallman <rms> 07/08/03 03:38:59
Index: fileio.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/fileio.c,v
retrieving revision 1.580.2.1
retrieving revision 1.580.2.2
diff -u -b -r1.580.2.1 -r1.580.2.2
--- fileio.c 25 Jul 2007 05:15:54 -0000 1.580.2.1
+++ fileio.c 3 Aug 2007 03:38:58 -0000 1.580.2.2
@@ -5692,11 +5692,9 @@
See Info node `(elisp)Modification Time' for more details. */)
()
{
- Lisp_Object tcons;
- tcons = long_to_cons ((unsigned long) current_buffer->modtime);
- if (CONSP (tcons))
- return list2 (XCAR (tcons), XCDR (tcons));
- return tcons;
+ if (! current_buffer->modtime)
+ return make_number (0);
+ return make_time ((time_t) current_buffer->modtime);
}
DEFUN ("set-visited-file-modtime", Fset_visited_file_modtime,
- [Emacs-diffs] Changes to emacs/src/fileio.c,v [EMACS_22_BASE],
Richard M. Stallman <=