view etc/emacs.py @ 109024:f24aeaefbe37

Fix occasional recentering under scroll-conservatively. xdisp.c (try_scrolling): Compute the limit for searching point in forward scroll from scroll_max, instead of an arbitrary limit of 10 screen lines. See http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00766.html and http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00773.html for details.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 19 Jun 2010 12:40:15 +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