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
fc937924
Commit
fc937924
authored
May 25, 2010
by
Juri Linkov
Browse files
* image.el (image-animated-p): When delay between animated images is 0,
set it to 10 (0.1 sec). (Bug#6258)
parent
fa9ba953
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/image.el
lisp/image.el
+7
-4
No files found.
lisp/ChangeLog
View file @
fc937924
2010-05-25 Juri Linkov <juri@jurta.org>
* image.el (image-animated-p): When delay between animated images
is 0, set it to 10 (0.1 sec). (Bug#6258)
2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
* net/tramp.el (tramp-handle-insert-directory): Don't use
...
...
lisp/image.el
View file @
fc937924
...
...
@@ -685,10 +685,13 @@ shall be displayed."
(
let*
((
metadata
(
image-metadata
image
))
(
images
(
plist-get
metadata
'count
))
(
extdata
(
plist-get
metadata
'extension-data
))
(
anim
(
plist-get
extdata
#xF9
)))
(
and
(
integerp
images
)
(
>
images
1
)
(
stringp
anim
)
(
>=
(
length
anim
)
4
)
(
cons
images
(
+
(
aref
anim
1
)
(
*
(
aref
anim
2
)
256
))))))))
(
anim
(
plist-get
extdata
#xF9
))
(
tmo
(
and
(
integerp
images
)
(
>
images
1
)
(
stringp
anim
)
(
>=
(
length
anim
)
4
)
(
+
(
aref
anim
1
)
(
*
(
aref
anim
2
)
256
)))))
(
when
tmo
(
if
(
eq
tmo
0
)
(
setq
tmo
10
))
(
cons
images
tmo
))))))
(
provide
'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