]> code.delx.au - gnu-emacs/commitdiff
Fix previous change.
authorRichard M. Stallman <rms@gnu.org>
Wed, 11 Dec 1996 21:06:53 +0000 (21:06 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 11 Dec 1996 21:06:53 +0000 (21:06 +0000)
lisp/browse-url.el

index 1af08b0606b592bc173364f3f5bd6b114fb9704b..d4e6988a38780ebb033efc6dbb241964cf10da2b 100644 (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)))
       ""))