[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Auto running "imenu-add-to-menubar" command on open
From: |
Daniel Jensen |
Subject: |
Re: Auto running "imenu-add-to-menubar" command on open |
Date: |
Thu, 16 Aug 2007 13:25:42 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
anders <anders.u.persson@gmail.com> writes:
> I got help before, becurse i like to have a list of function for my C-
> program
> i was told about imenu-add-to-menubar witch is GREAT.
>
> But everytime i open a file i have to enter this command, is there
> a way to tell Emacs to run this allwys on open of a c-file.
(add-hook 'c-mode-hook 'imenu-add-to-menubar)