Function: shell-highlight-undef-mode-restart
shell-highlight-undef-mode-restart is a byte-compiled function defined
in shell.el.gz.
Signature
(shell-highlight-undef-mode-restart)
Documentation
If shell-highlight-undef-mode(var)/shell-highlight-undef-mode(fun) is on, restart it.
shell-highlight-undef-mode(var)/shell-highlight-undef-mode(fun) performs its setup differently
depending on comint-fontify-input-mode(var)/comint-fontify-input-mode(fun). It's useful to call
this function when switching comint-fontify-input-mode(var)/comint-fontify-input-mode(fun) in order
to make shell-highlight-undef-mode(var)/shell-highlight-undef-mode(fun) redo its setup.
Source Code
;; Defined in /usr/src/emacs/lisp/shell.el.gz
(defun shell-highlight-undef-mode-restart ()
"If `shell-highlight-undef-mode' is on, restart it.
`shell-highlight-undef-mode' performs its setup differently
depending on `comint-fontify-input-mode'. It's useful to call
this function when switching `comint-fontify-input-mode' in order
to make `shell-highlight-undef-mode' redo its setup."
(when shell-highlight-undef-mode
(shell-highlight-undef-mode 1)))