Mercurial > emacs
view etc/emacs.py @ 97137:c33982d8abdc
(normal-mode): Move call to hack-project-variables into
hack-local-variables.
(file-local-variables-alist, before-hack-local-variables-hook):
New vars.
(ignored-local-variables): Add file-local-variables-alist.
(hack-local-variables-filter): Renamed from
hack-local-variables-apply. Add the result to
file-local-variables-alist, without applying them.
(hack-local-variables): Set file-local-variables-alist to nil.
Call hack-project-variables and before-hack-local-variables-hook.
Apply variables here, instead of hack-local-variables-apply.
Based on a patch by Alan Mackenzie.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 31 Jul 2008 01:22:54 +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