Variable: goto-address-prog-mode

goto-address-prog-mode is a buffer-local variable defined in goto-addr.el.gz.

Documentation

Non-nil if Goto-Address-Prog mode is enabled.

Use the command goto-address-prog-mode(var)/goto-address-prog-mode(fun) to change this variable.

Probably introduced at or before Emacs version 23.1.

Key Bindings

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)))))