Mercurial > emacs
annotate etc/emacs.py @ 105697:136cf2d23c90
* minibuffer.el (completion-table-with-terminator): Properly implement
boundaries, in case `terminator' appears in the suffix.
(completion--embedded-envvar-table): Don't return boundaries if
there's no valid completion. Simplify.
(completion-file-name-table): New completion table extracted from
completion--file-name-table.
(completion--file-name-table): Use it.
(read-file-name-predicate): Declare obsolete.
(read-file-name): Use the pred arg i.s.o read-file-name-predicate.
* vc-bzr.el (vc-bzr-revision-completion-table): Use the new
completion-file-name-table, and use the `pred' argument.
* files.el (locate-file-completion-table): Use the `pred' arg rather
than read-file-name-predicate.
(abbreviate-file-name): Use \` rather than ^ for BOS.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 21 Oct 2009 20:03:57 +0000 |
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 |