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
9554f4ac
Commit
9554f4ac
authored
Feb 13, 2012
by
Lars Ingebrigtsen
Committed by
Katsumi Yamaoka
Feb 13, 2012
Browse files
shr.el (shr-rescale-image): Allow viewing large images.
parent
4eff9c1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/gnus/ChangeLog
lisp/gnus/ChangeLog
+4
-0
lisp/gnus/shr.el
lisp/gnus/shr.el
+2
-1
No files found.
lisp/gnus/ChangeLog
View file @
9554f4ac
2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
* shr.el (shr-rescale-image): Allow viewing large images.
2012-02-12 Lars Ingebrigtsen <larsi@gnus.org>
* nnml.el (nnml-request-compact-group): Delete the marks file after
...
...
lisp/gnus/shr.el
View file @
9554f4ac
...
...
@@ -557,7 +557,8 @@ the URL of the image to the kill buffer instead."
(
insert
alt
)))
(
defun
shr-rescale-image
(
data
)
(
let
((
image
(
create-image
data
nil
t
:ascent
100
)))
(
let*
((
max-image-size
0
)
(
image
(
create-image
data
nil
t
:ascent
100
)))
(
if
(
or
(
not
(
fboundp
'imagemagick-types
))
(
not
(
get-buffer-window
(
current-buffer
))))
image
...
...
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