unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: master ef0546ffcd 2/3: Fix signature of `seconds-to-time'
Date: Sat, 06 Aug 2022 17:03:52 +0800	[thread overview]
Message-ID: <87fsi94ubr.fsf@yahoo.com> (raw)
In-Reply-To: <jwvczddu5l5.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sat, 06 Aug 2022 04:43:10 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>  ;;;###autoload
>> -(defalias 'seconds-to-time 'time-convert)
>> +(defun seconds-to-time (seconds &rest form)
>> +  "Convert SECONDS to a proper time, like `current-time' would.
>> +FORM means the same as in `time-convert'."
>> +  (time-convert seconds form))
>
> Oh, thanks.  I wonder, tho; shouldn't this just have a `seconds`
> argument and no `form`, as was the case until 2018?
>
>
>         Stefan

I'm not sure what the right thing to do here is, but feel free to make
such a change should you want to.

Thanks.



  reply	other threads:[~2022-08-06  9:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <165975258963.23776.2101095728150882604@vcs2.savannah.gnu.org>
     [not found] ` <20220806022310.40D6EC09BFD@vcs2.savannah.gnu.org>
2022-08-06  8:43   ` master ef0546ffcd 2/3: Fix signature of `seconds-to-time' Stefan Monnier
2022-08-06  9:03     ` Po Lu [this message]
     [not found] ` <20220806022310.27F7AC09BFB@vcs2.savannah.gnu.org>
2022-08-07 14:00   ` master 32ab6d7105 1/3: Improve XI focus handling Lars Ingebrigtsen
2022-08-07 14:23     ` Po Lu
2022-08-07 15:23       ` Lars Ingebrigtsen

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=87fsi94ubr.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).