Commit 5b5e0366 authored by Eli Zaretskii's avatar Eli Zaretskii

Revert to pre-25.1 behavior in ffap

* lisp/ffap.el (ffap-lax-url): Change the default to t, to produce
the same behavior as in Emacs 24.x.  (Bug#25264)
Explain the trade-offs of customizing this in the doc string.
parent 19994a15
......@@ -162,8 +162,12 @@ schemes (e.g. \"ftp\"); in that case, only convert those URLs."
:group 'ffap
:version "24.3")
(defcustom ffap-lax-url nil
"If non-nil, allow lax URL matching."
(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.1")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment