unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: daniel@bigwalter.net (Daniel Jensen)
To: help-gnu-emacs@gnu.org
Subject: Re: Auto running "imenu-add-to-menubar" command on open
Date: Thu, 16 Aug 2007 13:25:42 +0200	[thread overview]
Message-ID: <87eji3yb49.fsf@orme.bigwalter.net> (raw)
In-Reply-To: 1187245443.692593.130290@r29g2000hsg.googlegroups.com

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)

      reply	other threads:[~2007-08-16 11:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-16  6:24 Auto running "imenu-add-to-menubar" command on open anders
2007-08-16 11:25 ` Daniel Jensen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eji3yb49.fsf@orme.bigwalter.net \
    --to=daniel@bigwalter.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).