|
From: | Uwe Brauer |
Subject: | bug#8367: log-edit-insert-changelog+non standard add-log-time-format |
Date: | Tue, 29 Mar 2011 00:07:43 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100205 Lightning/1.0b1 SeaMonkey/2.0.3 |
Glenn Morris wrote:
Uwe Brauer wrote:I have set 'add-log-time-format to a function called my-insert-log-time which is defined as: (defun my-insert-log-time () (interactive) (insert (format-time-string "%Y-%m-%d_%H:%M")))The doc of add-log-time-format says current-time-string is an option, so your function should behave like current-time-string. Ie, it should just return a value, not insert it.
thanks you are right! what a silly mistake!
[Prev in Thread] | Current Thread | [Next in Thread] |