annotate etc/emacs.py @ 107360:8d9bcdbc2a6e

Animated image API. http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html * image.el (image-animate-max-time): New defcustom. (image-animated-types): New defconst. (create-animated-image, image-animate-timer) (image-animate-start, image-animate-stop, image-animate-timeout) (image-animated-p): New functions. * image-mode.el (image-toggle-display-image): Replace `create-image' with `create-animated-image'.
author Juri Linkov <juri@jurta.org>
date Sun, 07 Mar 2010 21:02:20 +0200
parents 69c173eabff4
children bdb3fe0ba9fa ef719132ddfa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84823
9b1c9000269c Adam Hupp <adam at hupp.org>
Glenn Morris <rgm@gnu.org>
parents: 78271
diff changeset
1 """Wrapper for version-specific implementations of python.el helper
9b1c9000269c Adam Hupp <adam at hupp.org>
Glenn Morris <rgm@gnu.org>
parents: 78271
diff changeset
2 functions """
77605
b4b0e39a8d1f Restore file pending consideration of python.el legal status.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
3
84823
9b1c9000269c Adam Hupp <adam at hupp.org>
Glenn Morris <rgm@gnu.org>
parents: 78271
diff changeset
4 import sys
77605
b4b0e39a8d1f Restore file pending consideration of python.el legal status.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5
84823
9b1c9000269c Adam Hupp <adam at hupp.org>
Glenn Morris <rgm@gnu.org>
parents: 78271
diff changeset
6 if sys.version_info[0] == 3:
9b1c9000269c Adam Hupp <adam at hupp.org>
Glenn Morris <rgm@gnu.org>
parents: 78271
diff changeset
7 from emacs3 import *
9b1c9000269c Adam Hupp <adam at hupp.org>
Glenn Morris <rgm@gnu.org>
parents: 78271
diff changeset
8 else:
9b1c9000269c Adam Hupp <adam at hupp.org>
Glenn Morris <rgm@gnu.org>
parents: 78271
diff changeset
9 from emacs2 import *
84885
69c173eabff4 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 84823
diff changeset
10
69c173eabff4 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 84823
diff changeset
11 # arch-tag: 894b5227-638f-45fd-8567-0417d5c35900