Commit f596f897 authored by João Távora's avatar João Távora
Browse files

Fix relative links to parent directories in shr

* lisp/net/shr.el (shr-expand-url): Use `expand-file-name' for relative
links. .

Fixes: debbugs:17217
parent ac6ec89c
2014-04-14 João Távora <joaotavora@gmail.com>
* net/shr.el (shr-expand-url): Use `expand-file-name' for relative
links. (Bug#17217).
2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
   
* vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer): * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
......
...@@ -610,7 +610,7 @@ size, and full-buffer size." ...@@ -610,7 +610,7 @@ size, and full-buffer size."
(concat (nth 3 base) url)) (concat (nth 3 base) url))
(t (t
;; Totally relative. ;; Totally relative.
(concat (car base) (cadr base) url)))) (concat (car base) (expand-file-name url (cadr base))))))
(defun shr-ensure-newline () (defun shr-ensure-newline ()
(unless (zerop (current-column)) (unless (zerop (current-column))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment