GNU bug report logs - #8367
log-edit-insert-changelog+non standard add-log-time-format

Previous Next

Package: emacs;

Reported by: Uwe Brauer <oub <at> mat.ucm.es>

Date: Mon, 28 Mar 2011 16:11:02 UTC

Severity: minor

Tags: notabug

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 8367 <at> debbugs.gnu.org (full text, mbox):

From: Uwe Brauer <oub <at> mat.ucm.es>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 8367 <at> debbugs.gnu.org, Uwe Brauer <uwe_brauer <at> mat.ucm.es>
Subject: Re: bug#8367: log-edit-insert-changelog+non standard
	add-log-time-format
Date: Tue, 29 Mar 2011 00:07:43 +0200
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!




This bug report was last modified 14 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.