[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: Tue, 28 Oct 2008 01:11:53 -0400

Yes, I did restart. I found a thread with a similar problem but I
don't know how to resolve it:

In this thread they define a new function ciao-setup-tool-bar-helper,
but I don't understand the syntax. The patch below gives me
(wrong-type-argument listp "Recent"), the same problem from the url.


On Tue, Oct 28, 2008 at 12:12 AM, Eli Zaretskii <address@hidden> wrote:
>> Date: Mon, 27 Oct 2008 19:38:29 -0400
>> From: "Bernhard Koenig" <address@hidden>
>> Cc: address@hidden
>> >  (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.
> ??? .emacs is not only for interactive commands.  If adding this to it
> does nothing, then something is wrong.
> You did restart Emacs after adding this, did you?

reply via email to

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