Variable: srecode-minor-mode
srecode-minor-mode is a buffer-local variable defined in mode.el.gz.
Documentation
Non-nil if Srecode minor mode is enabled.
Use the command srecode-minor-mode(var)/srecode-minor-mode(fun) to change this variable.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/srecode/mode.el.gz
;;;###autoload
(define-minor-mode srecode-minor-mode
"Toggle srecode minor mode.
The minor mode can be turned on only if semantic feature is
available and the current buffer was set up for parsing. Return
non-nil if the minor mode is enabled.
\\{srecode-mode-map}"
:keymap srecode-mode-map
;; If we are turning things on, make sure we have templates for
;; this mode first.
(if srecode-minor-mode
(if (not (apply
#'append
(mapcar (lambda (map)
(srecode-map-entries-for-mode map major-mode))
(srecode-get-maps))))
(setq srecode-minor-mode nil)
;; Else, we have success, do stuff
;; FIXME: Where are `cedet-m3-menu-do-hooks' nor `srecode-m3-items'?
(when (fboundp 'srecode-m3-items)
(add-hook 'cedet-m3-menu-do-hooks #'srecode-m3-items nil t)))
(when (fboundp 'srecode-m3-items)
(remove-hook 'cedet-m3-menu-do-hooks #'srecode-m3-items t)))
;; Run hooks if we are turning this on.
(when srecode-minor-mode
(run-hooks 'srecode-minor-mode-hook))
srecode-minor-mode)