# HG changeset patch # User Karl Heuer # Date 877591906 0 # Node ID ecb78a6ccd8d76dff9d46e272c515927b65f93d8 # Parent 7eb314cf3574e6849ea23f6107ccaa8a161bd3a5 (objc-mode): Bind imenu-create-index-function to cc-imenu-objc-function to enable Imenu support for Objective-C. Contributed by Masatake (jet) YAMATO. diff -r 7eb314cf3574 -r ecb78a6ccd8d lisp/progmodes/cc-mode.el --- a/lisp/progmodes/cc-mode.el Thu Oct 23 07:31:26 1997 +0000 +++ b/lisp/progmodes/cc-mode.el Thu Oct 23 07:31:46 1997 +0000 @@ -7,7 +7,7 @@ ;; 1985 Richard M. Stallman ;; Maintainer: cc-mode-help@python.org ;; Created: a long, long, time ago. adapted from the original c-mode.el -;; Version: 5.17 +;; Version: 5.18 ;; Keywords: c languages oop ;; NOTE: Read the commentary below for the right way to submit bug reports! @@ -234,7 +234,8 @@ c-class-key c-ObjC-class-key c-baseclass-key nil c-access-key c-ObjC-access-key - c-method-key c-ObjC-method-key) + c-method-key c-ObjC-method-key + imenu-create-index-function 'cc-imenu-objc-function) (run-hooks 'c-mode-common-hook) (run-hooks 'objc-mode-hook) (c-update-modeline)) @@ -243,7 +244,7 @@ ;;;###autoload (defun java-mode () "Major mode for editing Java code. -To submit a problem report, enter `\\[c-submit-bug-report]' from an +To submit a problem report, enter `\\[c-submit-bug-report]' from a java-mode buffer. This automatically sets up a mail buffer with version information already added. You just need to add a description of the problem, including a reproducible test case and send the @@ -326,7 +327,7 @@ ;; defuns for submitting bug reports -(defconst c-version "5.17" +(defconst c-version "5.18" "CC Mode version number.") (defconst c-mode-help-address