aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorMiles Bader2004-07-17 02:46:48 +0000
committerMiles Bader2004-07-17 02:46:48 +0000
commit21d1ca18bfb71eb82b574fd55339bc7441e6a449 (patch)
tree454ad66687571c05feba856074dca94209292a4a /src/fileio.c
parent89f3c0c9fda25756ee311a6d0467a97bac203eb5 (diff)
parentdd0a3ea36a52518f4fcd2dea97859cfba63158f8 (diff)
downloademacs-21d1ca18bfb71eb82b574fd55339bc7441e6a449.tar.gz
emacs-21d1ca18bfb71eb82b574fd55339bc7441e6a449.zip
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-24
Merge from lorentey@elte.hu--2004/emacs--hacks--0, emacs--cvs-trunk--0 Patches applied: * lorentey@elte.hu--2004/emacs--hacks--0--patch-2 Prevent special events from appending dashes to the echo string. * lorentey@elte.hu--2004/emacs--hacks--0--patch-4 Added ChangeLog entry. * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-451 Update from CVS: lisp/subr.el (get-buffer-window-list): Doc fix. * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-452 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-454 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-455 Bash the dashes * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-456 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-458 Update from CVS
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index a032a179ee1..bbc7d86c429 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5541,13 +5541,17 @@ Next attempt to save will certainly not complain of a discrepancy. */)
5541DEFUN ("visited-file-modtime", Fvisited_file_modtime, 5541DEFUN ("visited-file-modtime", Fvisited_file_modtime,
5542 Svisited_file_modtime, 0, 0, 0, 5542 Svisited_file_modtime, 0, 0, 0,
5543 doc: /* Return the current buffer's recorded visited file modification time. 5543 doc: /* Return the current buffer's recorded visited file modification time.
5544The value is a list of the form (HIGH . LOW), like the time values 5544The value is a list of the form (HIGH LOW), like the time values
5545that `file-attributes' returns. If the current buffer has no recorded 5545that `file-attributes' returns. If the current buffer has no recorded
5546file modification time, this function returns 0. 5546file modification time, this function returns 0.
5547See Info node `(elisp)Modification Time' for more details. */) 5547See Info node `(elisp)Modification Time' for more details. */)
5548 () 5548 ()
5549{ 5549{
5550 return long_to_cons ((unsigned long) current_buffer->modtime); 5550 Lisp_Object tcons;
5551 tcons = long_to_cons ((unsigned long) current_buffer->modtime);
5552 if (CONSP (tcons))
5553 return list2 (XCAR (tcons), XCDR (tcons));
5554 return tcons;
5551} 5555}
5552 5556
5553DEFUN ("set-visited-file-modtime", Fset_visited_file_modtime, 5557DEFUN ("set-visited-file-modtime", Fset_visited_file_modtime,