[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hyperlinks in *vc-change-log*
From: |
Thien-Thi Nguyen |
Subject: |
Re: Hyperlinks in *vc-change-log* |
Date: |
Sun, 13 Apr 2008 19:33:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
() Phil Hagelberg <address@hidden>
() Thu, 10 Apr 2008 22:48:27 -0700
That's great; I love having closures available.
A button can store state, not only the text it is attached
to (see `button-label'), but other stuff as well.
Here, you don't even need that. Probably this suffices:
(defun log-view-find-revision-at-button (button)
(log-view-find-revision (button-start button)))
(make-text-button BEG END
'action 'log-view-find-revision-at-button)
thi