emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New version of todo-mode.el (announcement + user guide)


From: Stefan Monnier
Subject: Re: New version of todo-mode.el (announcement + user guide)
Date: Fri, 14 Jun 2013 21:49:35 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> But it works when it's added at top-level.  Moreover, it turns out that
> using :around isn't right, at least not without making it much more
> complicated AFAICT.  It's much more straightforward to use :override.

I don't see why, but it doesn't matter.

> ! (defvar diary-goto-entry-function 'diary-goto-entry
> !   "Function called to jump to a diary entry.
> ! Modes that require special handling of the included file
> ! containing the diary entry can assign a suitable function to this
> ! variable.")
> ! 
> ! (define-button-type 'diary-entry
> !   'action (lambda (button) (funcall diary-goto-entry-function button))

Fine by me,


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]