Mercurial > emacs
annotate etc/emacs.py @ 112169:882d6cbb91a2
Tweaks to tool-bar for default, VC-dir, Compile, and Info.
* tool-bar.el (tool-bar-setup): Remove Help button. Remove label
from Search and add a label to Undo.
* vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
inappropriate buttons and adding :vert-only tags.
* progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
removal of Help tool-bar button. Remove Undo button for space.
* info.el (info-tool-bar-map): Add :vert-only tags.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 08 Jan 2011 23:13:47 -0500 |
parents | 69c173eabff4 |
children | bdb3fe0ba9fa ef719132ddfa |
rev | line source |
---|---|
84823 | 1 """Wrapper for version-specific implementations of python.el helper |
2 functions """ | |
77605
b4b0e39a8d1f
Restore file pending consideration of python.el legal status.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
3 |
84823 | 4 import sys |
77605
b4b0e39a8d1f
Restore file pending consideration of python.el legal status.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
5 |
84823 | 6 if sys.version_info[0] == 3: |
7 from emacs3 import * | |
8 else: | |
9 from emacs2 import * | |
84885 | 10 |
11 # arch-tag: 894b5227-638f-45fd-8567-0417d5c35900 |