aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorKaroly Lorentey2004-07-18 21:49:24 +0000
committerKaroly Lorentey2004-07-18 21:49:24 +0000
commit31d7e9bc5a474c2da8c40f4812ea3e09cd5fb82c (patch)
tree729a3c238e43ed5625290e994d9ef0d09c18241a /src/fileio.c
parent4cb2afc64f004ba91ff0bd37cf8ca6669b228988 (diff)
parentcdfa3eccb179fe579a5e38949d0a2ad3d2757524 (diff)
downloademacs-31d7e9bc5a474c2da8c40f4812ea3e09cd5fb82c.tar.gz
emacs-31d7e9bc5a474c2da8c40f4812ea3e09cd5fb82c.zip
Merged in changes from CVS trunk.
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-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 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-457 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-458 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-459 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-460 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-219
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 2a4d5fb230e..f81566a7656 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5630,13 +5630,17 @@ Next attempt to save will certainly not complain of a discrepancy. */)
5630DEFUN ("visited-file-modtime", Fvisited_file_modtime, 5630DEFUN ("visited-file-modtime", Fvisited_file_modtime,
5631 Svisited_file_modtime, 0, 0, 0, 5631 Svisited_file_modtime, 0, 0, 0,
5632 doc: /* Return the current buffer's recorded visited file modification time. 5632 doc: /* Return the current buffer's recorded visited file modification time.
5633The value is a list of the form (HIGH . LOW), like the time values 5633The value is a list of the form (HIGH LOW), like the time values
5634that `file-attributes' returns. If the current buffer has no recorded 5634that `file-attributes' returns. If the current buffer has no recorded
5635file modification time, this function returns 0. 5635file modification time, this function returns 0.
5636See Info node `(elisp)Modification Time' for more details. */) 5636See Info node `(elisp)Modification Time' for more details. */)
5637 () 5637 ()
5638{ 5638{
5639 return long_to_cons ((unsigned long) current_buffer->modtime); 5639 Lisp_Object tcons;
5640 tcons = long_to_cons ((unsigned long) current_buffer->modtime);
5641 if (CONSP (tcons))
5642 return list2 (XCAR (tcons), XCDR (tcons));
5643 return tcons;
5640} 5644}
5641 5645
5642DEFUN ("set-visited-file-modtime", Fset_visited_file_modtime, 5646DEFUN ("set-visited-file-modtime", Fset_visited_file_modtime,