summaryrefslogtreecommitdiff
path: root/lisp/browse-url.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-12-11 21:06:53 +0000
committerRichard M. Stallman <rms@gnu.org>1996-12-11 21:06:53 +0000
commit10262de12491000c122cdfb49f9a2e174ca002ad (patch)
treec61c786e555aedc74d180bf9ad2f1696e60a3e4e /lisp/browse-url.el
parent5f54892377c5634d0be558d2f6ad46b89a1dbab0 (diff)
downloademacs-10262de12491000c122cdfb49f9a2e174ca002ad.tar.gz
Fix previous change.
Diffstat (limited to 'lisp/browse-url.el')
-rw-r--r--lisp/browse-url.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/browse-url.el b/lisp/browse-url.el
index 1af08b0606b..d4e6988a387 100644
--- a/lisp/browse-url.el
+++ b/lisp/browse-url.el
@@ -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)))
""))