(shr-expand-url): Fix typo.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 21 Apr 2011 02:45:02 +0000 (02:45 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 21 Apr 2011 02:45:02 +0000 (02:45 +0000)
lisp/shr.el

index ee231e6..401ac1a 100644 (file)
@@ -402,7 +402,7 @@ redirects somewhere else."
        (not shr-base))
     url)
    ((and (not (string-match "/\\'" shr-base))
-        (not (string-match "\\`" url)))
+        (not (string-match "\\`/" url)))
     (concat shr-base "/" url))
    (t
     (concat shr-base url))))