Function: semantic-c-debug-mode-init-pch
semantic-c-debug-mode-init-pch is a byte-compiled function defined in
c.el.gz.
Signature
(semantic-c-debug-mode-init-pch)
Documentation
Notify user about needing to debug their major mode hooks.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/bovine/c.el.gz
(defun semantic-c-debug-mode-init-pch ()
"Notify user about needing to debug their major mode hooks."
(let ((mm semantic-c-debug-mode-init-last-mode))
(switch-to-buffer-other-window
(get-buffer-create "*MODE HACK TEST*"))
(erase-buffer)
(insert "A failure occurred while parsing your buffers.
The failure occurred while attempting to initialize " (symbol-name mm) " in a
buffer not associated with a file. To debug this problem, type
M-x semantic-c-debug-mode-init
now.
")
(remove-hook 'post-command-hook #'semantic-c-debug-mode-init-pch)))