mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix a thinko in 'ffap-gopher-at-point'
* lisp/ffap.el (ffap-gopher-at-point): Fix last change. (Bug#21168)
This commit is contained in:
parent
e91d2b3b27
commit
e663cfec5a
1 changed files with 1 additions and 1 deletions
|
|
@ -1134,7 +1134,7 @@ Sets the variable `ffap-string-at-point-region' to the bounds of URL, if any."
|
|||
(match-end 2))))
|
||||
(set var val)
|
||||
(forward-line 1)))
|
||||
(setcdr ffap-string-at-point-region (point))
|
||||
(setcdr ffap-string-at-point-region (list (point)))
|
||||
(if (and path (string-match "^ftp:.*@" path))
|
||||
(concat "ftp://"
|
||||
(substring path 4 (1- (match-end 0)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue