Function: semantic-c-debug-mode-init
semantic-c-debug-mode-init is an interactive and byte-compiled
function defined in c.el.gz.
Signature
(semantic-c-debug-mode-init MM)
Documentation
Debug mode init for major mode MM after we're done parsing now.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/bovine/c.el.gz
(defun semantic-c-debug-mode-init (mm)
"Debug mode init for major mode MM after we're done parsing now."
(interactive (list semantic-c-debug-mode-init-last-mode))
(if (called-interactively-p 'interactive)
;; Do the debug.
(progn
(switch-to-buffer (get-buffer-create "*MODE HACK TEST*"))
(let ((debug-on-error t))
(funcall mm)))
;; Notify about the debug
(setq semantic-c-debug-mode-init-last-mode mm)
(add-hook 'post-command-hook #'semantic-c-debug-mode-init-pch)))