[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Speedbar/ObjC
From: |
Marcus G. Daniels |
Subject: |
Re: Speedbar/ObjC |
Date: |
16 Feb 1999 18:03:54 -0800 |
>>>>> "SME" == Steve Emsley <address@hidden> writes:
SME> Teach imenu about ObjectiveC but putting this in .emacs
I've committed something like this for future InstallShield
SDK packages:
(add-hook 'objc-mode-hook
(lambda ()
(setq imenu-generic-expression cc-imenu-objc-generic-expression)
(imenu-add-to-menubar "Index")))
Note that cc-mode actually has an expression for Objective C, but it
doesn't get assigned to imenu-generic-expression for whatever reason.
I called the menu "Index", since it also includes functions, and
address@hidden/@implementation menu items.
Perhaps it is also worth emphasizing that this feature is unrelated to
speedbar.
Finally, in Emacs 20.3, speedbar doesn't require configuration:
M-x speedbar should do it.
Thanks!
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.