Variable: goto-address-prog-mode-hook

goto-address-prog-mode-hook is a customizable variable defined in goto-addr.el.gz.

Value

nil

Documentation

Hook run after entering or leaving goto-address-prog-mode(var)/goto-address-prog-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 /usr/src/emacs/lisp/net/goto-addr.el.gz
;;;###autoload
(define-minor-mode goto-address-prog-mode
  "Like `goto-address-mode', but only for comments and strings."
  :lighter ""
  (if goto-address-prog-mode
      (jit-lock-register #'goto-address-fontify-region)
    (jit-lock-unregister #'goto-address-fontify-region)
    (save-restriction
      (widen)
      (goto-address-unfontify (point-min) (point-max)))))