view etc/emacs.py @ 110713:06aa6ebe38fa

* lisp/subr.el (make-local-hook): Remove function obsolete since 21.1. * lisp/progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff. (c-basic-common-init, c-font-lock-init): Only call make-local-hook on XEmacs. * lisp/progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff. (c-make-styles-buffer-local): Only call make-local-hook on XEmacs. * lisp/gnu/gnus-util.el (gnus-make-local-hook): Simplify. * etc/NEWS: Mention above change.
author Glenn Morris <rgm@gnu.org>
date Sat, 02 Oct 2010 18:53:04 -0700
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