[前][次][番号順一覧][スレッド一覧]

ruby-changes:44095

From: shyouhei <ko1@a...>
Date: Fri, 16 Sep 2016 15:15:07 +0900 (JST)
Subject: [ruby-changes:44095] shyouhei:r56168 (trunk): * ChangeLog (add-log-time-format): Not exactly sure when but

shyouhei	2016-09-16 15:15:00 +0900 (Fri, 16 Sep 2016)

  New Revision: 56168

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56168

  Log:
    * ChangeLog (add-log-time-format): Not exactly sure when but
      recently (25.x maybe), emacs changed its API to take optional
      two arguments.  We have to follow that.

  Modified files:
    trunk/ChangeLog
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 56167)
+++ ChangeLog	(revision 56168)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Sep 16 14:35:55 2016  URABE Shyouhei  <shyouhei@r...>
+
+	* ChangeLog (add-log-time-format): Not exactly sure when but
+	  recently (25.x maybe), emacs changed its API to take optional
+	  two arguments.  We have to follow that.
+
 Fri Sep 16 06:43:25 2016  Aaron Patterson <tenderlove@r...>
 
 	* lib/uri/generic.rb (def check_password): don't include bad password
@@ -8166,8 +8172,8 @@ For the changes before 1.8.0, see doc/Ch https://github.com/ruby/ruby/blob/trunk/ChangeLog#L8172
 
 Local variables:
 coding: us-ascii
-add-log-time-format: (lambda ()
-  (let* ((time (current-time))
+add-log-time-format: (lambda (&optional x y)
+  (let* ((time (or x (current-time)))
 	 (system-time-locale "C")
 	 (diff (+ (cadr time) 32400))
 	 (lo (% diff 65536))

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]