Mercurial > emacs
view etc/emacs.py @ 108007:ea2f4615a622
Don't depend on cm.c or termcap.c on Windows, use stubs.
* makefile.w32-in (OBJ1): Remove cm.$(O) and termcap.$(O).
($(BLD)/cm.$(O), $(BLD)/termcap.$(O)): Remove.
* w32console.c (current_tty, cost): New vars; lifted from cm.c.
(evalcost, cmputc, cmcheckmagic, cmcostinit, cmgoto, Wcm_clear)
(sys_tputs, sys_tgetstr): New stubs.
* s/ms-w32.h (chcheckmagic, cmcostinit, cmgoto, cmputc, Wcm_clear)
(tputs, tgetstr): New; define to sys_*.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 21 Apr 2010 02:17:02 +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