mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-15 09:47:20 +00: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
@ -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…
Reference in New Issue
Block a user