Subject: Re: bug#8367: log-edit-insert-changelog+non standard add-log-time-format

From: Glenn Morris <[email-masked]>
Date: Mon, 28 Mar 2011 17:33:52 -0400

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.