help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: how to add button to emacs that play a elisp code


From: Drew Adams
Subject: Re: how to add button to emacs that play a elisp code
Date: Fri, 12 Sep 2014 07:52:58 -0700 (PDT)

This reply does not directly address the OP question -
just an FYI about something somewhat related.

With Bookmark+ you can have a bookmark that does pretty much
anything, including invoke arbitrary Lisp code.

Command `bmkp-insert-bookmark-link' creates a link (button, if
you prefer) on any text (e.g. the region) that, when followed,
invokes the bookmark (jumps somewhere or does something else).
Hitting `?' or double-clicking the link shows the bookmark
info in *Help*.

[If you also use library font-lock+.el then the links/buttons
are highlighted (with face `link') even in font-locked buffers.
See Emacs bug #18367 about such highlighting.]

http://www.emacswiki.org/BookmarkPlus



reply via email to

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