From: Richard Stallman <rms@gnu.org>
To: adonovan@google.com (Alan Donovan)
Cc: bug-gnu-emacs@gnu.org
Subject: Re: long_to_cons doesn't always return a cons
Date: Sun, 17 Jun 2007 17:49:12 -0400 [thread overview]
Message-ID: <E1I02cS-0002sN-OR@fencepost.gnu.org> (raw)
In-Reply-To: <20070613160854.7F899D4B5@localhost> (adonovan@google.com)
Does this fix it?
*** fileio.c 22 Mar 2007 11:13:17 -0400 1.580
--- fileio.c 17 Jun 2007 10:56:38 -0400
***************
*** 5692,5702 ****
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;
}
DEFUN ("set-visited-file-modtime", Fset_visited_file_modtime,
--- 5692,5700 ----
See Info node `(elisp)Modification Time' for more details. */)
()
{
! 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,
next prev parent reply other threads:[~2007-06-17 21:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-13 16:08 long_to_cons doesn't always return a cons Alan Donovan
2007-06-17 21:49 ` Richard Stallman [this message]
2007-06-25 14:48 ` Alan Donovan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1I02cS-0002sN-OR@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=adonovan@google.com \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).