[emacs-w3m:13490] [emacs-w3m/emacs-w3m] w3m causes (require 'ffap) to fail if ffap-url-regexp is nil (#59)

iwpiv <[email protected]>
Newsgroups gmane.emacs.w3m
Message-ID <emacs-w3m/emacs-w3m/issues/[email protected]>
in `eval-after-load "ffap"` part in `w3m.el` file, a string matching is done without guarding against a nil value in `ffap-url-regexp`.

which by the variable documentation should be a legal value:
```
ffap-url-regexp is a variable defined in ‘ffap.el’.
Its value is nil

Regexp matching the beginning of a URI, for ffap.
If the value is nil, disable URL-matching features in ffap.
```

this will cause requiring ffap to fail, along with every function in emacs that depends on it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/emacs-w3m/emacs-w3m/issues/59
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.