Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e7b37ae4
Commit
e7b37ae4
authored
Aug 26, 2014
by
João Távora
Committed by
Glenn Morris
Aug 26, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
use url-expand-file-name. Fixes: debbugs:18310
parent
825ca47f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/net/shr.el
lisp/net/shr.el
+3
-1
No files found.
lisp/ChangeLog
View file @
e7b37ae4
2014-08-27 João Távora <joaotavora@gmail.com>
* net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
use url-expand-file-name. (Bug#18310)
2014-08-25 Glenn Morris <rgm@gnu.org>
* emulation/cua-rect.el (cua--highlight-rectangle):
...
...
lisp/net/shr.el
View file @
e7b37ae4
...
...
@@ -585,6 +585,8 @@ size, and full-buffer size."
(
url-type
parsed
)
url
)))
(
autoload
'url-expand-file-name
"url-expand"
)
(
defun
shr-expand-url
(
url
&optional
base
)
(
setq
base
(
if
base
...
...
@@ -610,7 +612,7 @@ size, and full-buffer size."
(
concat
(
nth
3
base
)
url
))
(
t
;; Totally relative.
(
concat
(
car
base
)
(
expand-file-name
url
(
cadr
base
))))))
(
url-
expand-file-name
url
(
concat
(
car
base
)
(
cadr
base
))))))
(
defun
shr-ensure-newline
()
(
unless
(
zerop
(
current-column
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment