Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
35408b1a
Commit
35408b1a
authored
Jan 24, 2014
by
Adam Sjøgren
Committed by
Lars Ingebrigtsen
Jan 24, 2014
Browse files
* net/shr.el (shr-tag-img): Prefer the title over the alt text.
Fixes: debbugs:16537
parent
c13b1a2d
Changes
2
Hide 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 @
35408b1a
2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
* net/shr.el (shr-tag-img): Prefer the title over the alt text
(bug#16537).
2014-01-24 Juanma Barranquero <lekktu@gmail.com>
* net/eww.el (eww-download-callback):
...
...
lisp/net/shr.el
View file @
35408b1a
...
...
@@ -1228,7 +1228,9 @@ The preference is a float determined from `shr-prefer-media-type'."
(
put-text-property
start
(
point
)
'image-url
url
)
(
put-text-property
start
(
point
)
'image-displayer
(
shr-image-displayer
shr-content-function
))
(
put-text-property
start
(
point
)
'help-echo
alt
))
(
put-text-property
start
(
point
)
'help-echo
(
or
(
cdr
(
assq
:title
cont
))
alt
)))
(
setq
shr-state
'image
)))))
(
defun
shr-tag-pre
(
cont
)
...
...
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