Function: c-mode-menu

c-mode-menu is a byte-compiled function defined in cc-mode.el.gz.

Signature

(c-mode-menu MODESTR)

Documentation

Return a menu spec suitable for easy-menu-define that is exactly like the C mode menu except that the menu bar item name is MODESTR instead of "C".

This function is provided for compatibility only; derived modes should preferably use the c-mode-menu language constant directly.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-mode.el.gz
(defun c-mode-menu (modestr)
  "Return a menu spec suitable for `easy-menu-define' that is exactly
like the C mode menu except that the menu bar item name is MODESTR
instead of \"C\".

This function is provided for compatibility only; derived modes should
preferably use the `c-mode-menu' language constant directly."
  (cons modestr (c-lang-const c-mode-menu c)))