diff options
| author | Chong Yidong | 2012-12-05 15:29:02 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-12-05 15:29:02 +0800 |
| commit | a368019460b1a22a84acc8e8836f60e97ebbcb25 (patch) | |
| tree | fa2c11c107c3485cf5d8fc000cecc8a551516d30 /src/buffer.c | |
| parent | 04b14f2b275b064440ca8366cd5b7c4effcdac82 (diff) | |
| download | emacs-a368019460b1a22a84acc8e8836f60e97ebbcb25.tar.gz emacs-a368019460b1a22a84acc8e8836f60e97ebbcb25.zip | |
Improve url matching in ffap.el.
* ffap.el (ffap-url-regexp): Don't require matching at front of string.
(ffap-url-p): If only a substring matches, return that.
(ffap-url-at-point): Use the return value of ffap-url-p.
(ffap-read-file-or-url, ffap-read-file-or-url-internal)
(find-file-at-point, dired-at-point, dired-at-point-prompter)
(ffap-guess-file-name-at-point): Likewise.
(ffap-replace-file-component): Fix typo.
Fixes: debbugs:4952
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions