From: storm@cua.dk (Kim F. Storm)
Subject: Re: animage.el -- animated image support in Emacs
Date: Mon, 24 Apr 2006 02:37:32 +0200 [thread overview]
Message-ID: <m3zmibolkj.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <m3lktytyt5.fsf@kfs-l.imdomain.dk> (Kim F. Storm's message of "Fri, 21 Apr 2006 23:15:50 +0200")
storm@cua.dk (Kim F. Storm) writes:
> Below you will find animage.el which enables Emacs to show animated GIF
> files using the following code:
>
With the following patch to image-mode.el, visiting an animated GIF
files will automatically animate it.
However, if we do this, the animage.el should be preloaded, and as
such it could just as well be merged into image.el.
Index: lisp/image-mode.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/image-mode.el,v
retrieving revision 1.11
diff -u -r1.11 image-mode.el
--- lisp/image-mode.el 18 Apr 2006 21:21:08 -0000 1.11
+++ lisp/image-mode.el 24 Apr 2006 00:36:58 -0000
@@ -145,8 +145,8 @@
(not (and (boundp 'tar-superior-buffer)
tar-superior-buffer)))
(progn (clear-image-cache)
- (create-image (buffer-file-name)))
- (create-image
+ (create-animated-image (buffer-file-name)))
+ (create-animated-image
(string-make-unibyte
(buffer-substring-no-properties (point-min) (point-max)))
nil t)))
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
prev parent reply other threads:[~2006-04-24 0:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-21 21:15 animage.el -- animated image support in Emacs Kim F. Storm
2006-04-22 15:17 ` Sascha Wilde
2006-04-22 22:32 ` Richard Stallman
2006-04-22 23:07 ` Kim F. Storm
2006-04-24 0:37 ` Kim F. Storm [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3zmibolkj.fsf@kfs-l.imdomain.dk \
--to=storm@cua.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.