Function: jit-lock-unregister

jit-lock-unregister is a byte-compiled function defined in jit-lock.el.gz.

Signature

(jit-lock-unregister FUN)

Documentation

Unregister FUN as a fontification function.

Only applies to the current buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/jit-lock.el.gz
(defun jit-lock-unregister (fun)
  "Unregister FUN as a fontification function.
Only applies to the current buffer."
  (remove-hook 'jit-lock-functions fun t)
  (when (member jit-lock-functions '(nil '(t)))
    (jit-lock-mode nil)))