mirror of
https://github.com/python/cpython.git
synced 2025-11-02 06:31:29 +00:00
Add Alt-slash to Unix keydefs (I somehow need it on RH 6.2).
Get rid of assignment to unused self.text.wordlist.
This commit is contained in:
parent
fd288c7cd5
commit
b19f1e3701
1 changed files with 1 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ class AutoExpand:
|
||||||
}
|
}
|
||||||
|
|
||||||
unix_keydefs = {
|
unix_keydefs = {
|
||||||
'<<expand-word>>': ['<Meta-slash>'],
|
'<<expand-word>>': ['<Meta-slash>', '<Alt-slash>'],
|
||||||
}
|
}
|
||||||
|
|
||||||
menudefs = [
|
menudefs = [
|
||||||
|
|
@ -25,7 +25,6 @@ class AutoExpand:
|
||||||
|
|
||||||
def __init__(self, editwin):
|
def __init__(self, editwin):
|
||||||
self.text = editwin.text
|
self.text = editwin.text
|
||||||
self.text.wordlist = None # XXX what is this?
|
|
||||||
self.state = None
|
self.state = None
|
||||||
|
|
||||||
def expand_word_event(self, event):
|
def expand_word_event(self, event):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue