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 #8 received at 8367 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Uwe Brauer <oub <at> mat.ucm.es>
Cc: 8367 <at> debbugs.gnu.org
Subject: Re: bug#8367: log-edit-insert-changelog+non standard
	add-log-time-format
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.




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

Previous Next


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