diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-07-12 16:54:48 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-07-12 16:54:48 +0200 |
commit | d0cf55bf475c2cbbd315761f73c6bb7ece5a63fc (patch) | |
tree | 4c7bab978d4b7ef425c3c88eb01e89633ad6228a /helm.el | |
parent | 7614adec80b0863c9f5ec8ea0cb11aa89a7ca413 (diff) |
Fix and use helm--url-regexp instead of ffap-url-regexp (#1817)
* helm-files.el (helm-find-files-eshell-command-on-file-1): Do it.
(helm-substitute-in-filename): Do it.
(helm-point-file-in-dired): Do it.
(helm-marked-files-in-dired): Do it.
(helm-find-files-get-candidates): Do it.
(helm-ff-prefix-filename): Do it.
(helm-ff-filter-candidate-one-by-one): Do it.
(helm-find-files-action-transformer): Do it.
(helm-ffap-guesser): Do it.
(helm-find-files-input): Do it.
(helm-ff-find-url-at-point): Do it.
(helm-find-file-or-marked): Do it.
(helm-highlight-files): Do it.
* helm-mode.el (helm-comp-read-get-candidates): Do it.
* helm-utils.el (helm-quit-and-find-file): Do it.
* helm.el (helm--url-regexp): Make it match at beginning of string.
Diffstat (limited to 'helm.el')
-rw-r--r-- | helm.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1300,7 +1300,7 @@ because they are automatically added. You should not modify this yourself unless you know what you are doing.") ;; Same as `ffap-url-regexp' but keep it here to ensure `ffap-url-regexp' is not nil. -(defvar helm--url-regexp "\\(news\\(post\\)?:\\|mailto:\\|file:\\|\\(ftp\\|https?\\|telnet\\|gopher\\|www\\|wais\\)://\\)") +(defvar helm--url-regexp "\\`\\(news\\(post\\)?:\\|mailto:\\|file:\\|\\(ftp\\|https?\\|telnet\\|gopher\\|www\\|wais\\)://\\)") (defvar helm--ignore-errors nil "Flag to prevent helm popping up errors in candidates functions. Should be set in candidates functions if needed, will be restored |