Mercurial > emacs
annotate etc/emacs.py @ 86170:e6b555f6c76b
(ring-size, ring-p, ring-insert, ring-length, ring-empty-p): Use c[ad]dr.
(ring-plus1): Use `1+'.
(ring-minus1): Use `zerop'.
(ring-remove): Use c[ad]dr. Use `when'.
(ring-copy): Use c[ad]dr. Use `let', not `let*'.
(ring-ref): Use `let', not `let*'.
(ring-insert-at-beginning): Use c[ad]dr. Doc fix.
(ring-insert+extend): Use c[ad]dr. Fix typo in docstring.
(ring-member): Simplify. Doc fix.
(ring-convert-sequence-to-ring): Simplify.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Sat, 17 Nov 2007 02:50:37 +0000 |
parents | 69c173eabff4 |
children | bdb3fe0ba9fa ef719132ddfa |
rev | line source |
---|---|
84823 | 1 """Wrapper for version-specific implementations of python.el helper |
2 functions """ | |
77605
b4b0e39a8d1f
Restore file pending consideration of python.el legal status.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
3 |
84823 | 4 import sys |
77605
b4b0e39a8d1f
Restore file pending consideration of python.el legal status.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
5 |
84823 | 6 if sys.version_info[0] == 3: |
7 from emacs3 import * | |
8 else: | |
9 from emacs2 import * | |
84885 | 10 |
11 # arch-tag: 894b5227-638f-45fd-8567-0417d5c35900 |