view etc/emacs.py @ 110686:624c74ddf6bf

Fix bug #6349 with cursor positioning in truncated lines. xdisp.c (set_cursor_from_row): When the row is truncated and point is outside the range of displayed characters, position the cursor inside the scroll margin.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 01 Oct 2010 19:38:36 +0200
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