view etc/emacs.py @ 110588:0995e4af573f

Code simplification in term.c. * src/term.c: Do not include sys/ioctl.h, not needed. (init_tty): Reorder code to reduce the number of #ifdefs. No code changes.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 26 Sep 2010 18:06:21 +0300
parents 69c173eabff4
children bdb3fe0ba9fa ef719132ddfa
line wrap: on
line source

"""Wrapper for version-specific implementations of python.el helper
functions """

import sys

if sys.version_info[0] == 3:
    from emacs3 import *
else:
    from emacs2 import *

# arch-tag: 894b5227-638f-45fd-8567-0417d5c35900