Variable: highlight-function-calls-mode-hook
highlight-function-calls-mode-hook is a customizable variable defined
in highlight-function-calls.el.
Value
nil
Documentation
Hook run after entering or leaving highlight-function-calls-mode(var)/highlight-function-calls-mode(fun).
No problems result if this variable is not bound.
add-hook automatically binds it. (This is true for all hook variables.)
Source Code
;; Defined in ~/.emacs.d/elpa/highlight-function-calls-20240922.1826/highlight-function-calls.el
;;;###autoload
(define-minor-mode highlight-function-calls-mode
"Highlight function calls.
Toggle highlighting of function calls on or off.
With a prefix argument ARG, enable if ARG is positive, and
disable it otherwise. If called from Lisp, enable the mode if
ARG is omitted or nil, and toggle it if ARG is `toggle'."
:init-value nil :lighter nil :keymap nil
(let ((keywords highlight-function-calls--keywords))
(font-lock-remove-keywords nil keywords)
(when highlight-function-calls-mode
(font-lock-add-keywords nil keywords 'append)))
;; Refresh font locking.
(when font-lock-mode
(if (fboundp 'font-lock-flush)
(font-lock-flush)
(with-no-warnings (font-lock-fontify-buffer)))))