1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

Fix previous change.

This commit is contained in:
Richard M. Stallman 1996-12-11 21:06:53 +00:00
parent 0f995be681
commit 31c8acc065

View File

@ -371,7 +371,7 @@ Search backwards for the start of a URL ending at or after
point. If no URL found, return the empty string.
A file name is also acceptable, and `http://' will be prepended to it."
(or (thing-at-point 'url)
(let ((file (thing-at-point 'file)))
(let ((file (thing-at-point 'filename)))
(if file (concat "http://" file)))
""))