[Top][All Lists]

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

Re: enhancement/wish

From: Bernhard Koenig
Subject: Re: enhancement/wish
Date: Mon, 27 Oct 2008 19:38:29 -0400

> It's perfectly possible.  I have it in Aquamacs, and it just took me a bit
> of Lisp code.  The full code is in aquamacs-tool-bar.el if you want to look
> it up.  Specifically, this is what does it:
>  (tool-bar-add-item '("history" . "Recent") (lambda ()
>                              (interactive)
>                              (popup-menu (easy-menu-filter-return
>                                           (recentf-make-menu-items)
>                                           "Open Recent")))
>                     'recent-files
>                     :visible '(and (boundp 'recentf-mode) recentf-mode)
>                     :help "Pop up the Recent Files menu")

Sorry for being a noob here but how do I integrate this into .emacs?
"tool-bar-add-item" is not an interactive command so just adding it to
.emacs does nothing.

Where can I download aquamacs-tool-bar.el? Is this only applicable for
Mac or does it also make sense on other OS?


reply via email to

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