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
commit31c8acc06530892e323641db66f8499bd5d126f7 (patch)
tree998489fd175c10c67ba9e3d7fc4fa451e20a89b6 /lisp/browse-url.el
parent0f995be681f4db236429ea3cf5f62914ebe6f86b (diff)
downloademacs-31c8acc06530892e323641db66f8499bd5d126f7.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)))
""))