[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8367: log-edit-insert-changelog+non standard add-log-time-format
From: |
Glenn Morris |
Subject: |
bug#8367: log-edit-insert-changelog+non standard add-log-time-format |
Date: |
Mon, 28 Mar 2011 17:33:52 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
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.