Variable: ffap-lax-url

ffap-lax-url is a customizable variable defined in ffap.el.gz.

Value

t

Documentation

If non-nil, allow lax URL matching.

The default non-nil value might produce false URLs in C++ code with symbols like "std::find". On the other hand, setting this to nil will disable recognition of URLs that are not well-formed, such as "user@host" or "<user@host>".

This variable was added, or its default value changed, in Emacs 25.2.

Source Code

;; Defined in /usr/src/emacs/lisp/ffap.el.gz
(defcustom ffap-lax-url t
  "If non-nil, allow lax URL matching.
The default non-nil value might produce false URLs in C++ code
with symbols like \"std::find\".  On the other hand, setting
this to nil will disable recognition of URLs that are not
well-formed, such as \"user@host\" or \"<user@host>\"."
  :type 'boolean
  :group 'ffap
  :version "25.2")                      ; nil -> t