view etc/emacs.py @ 100361:ecf3d51be3b3

(fit-window-to-buffer): Use with-selected-window and condition-case. Do not delete more windows than necessary in the shrinking (delta < 0) case. Do not raise an error when the containing frame is too small to show all of buffer. (Bug#1488)
author Martin Rudalics <rudalics@gmx.at>
date Thu, 11 Dec 2008 17:17:44 +0000
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