Skip to content

Instantly share code, notes, and snippets.

@shyouhei
Created September 16, 2016 05:32
Show Gist options
  • Save shyouhei/7bbab72e26018b339c541802f063cb62 to your computer and use it in GitHub Desktop.
Save shyouhei/7bbab72e26018b339c541802f063cb62 to your computer and use it in GitHub Desktop.
diff --git a/ChangeLog b/ChangeLog
index d3b2eee..3dece77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8166,8 +8166,8 @@ For the changes before 1.8.0, see doc/ChangeLog-1.8.0
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))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment