comparison lisp/ChangeLog @ 94139:1e40bf35d15e

(python-mode-map): Use abbrev-table-menu. (python-use-skeletons): Remove, unused. (python-skeletons): Remove. Use the abbrev table instead. (python-mode-abbrev-table): Fix regexp; add enable-function and case-fixed. (def-python-skeleton): Simplify. (python-expand-template): Use the abbrev-table and abbrev-insert. (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook): Remove. (python-mode): Don't set pre-abbrev-expand-hook.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 17 Apr 2008 20:09:54 +0000
parents b6c3fde83add
children 6436fd5155ce
comparison
equal deleted inserted replaced
94138:b6c3fde83add 94139:1e40bf35d15e
1 2008-04-17 Stefan Monnier <monnier@iro.umontreal.ca> 1 2008-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/python.el (python-mode-map): Use abbrev-table-menu.
4 (python-use-skeletons): Remove, unused.
5 (python-skeletons): Remove. Use the abbrev table instead.
6 (python-mode-abbrev-table): Fix regexp; add enable-function and case-fixed.
7 (def-python-skeleton): Simplify.
8 (python-expand-template): Use the abbrev-table and abbrev-insert.
9 (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
10 Remove.
11 (python-mode): Don't set pre-abbrev-expand-hook.
2 12
3 * skeleton.el: Set coding-tag. 13 * skeleton.el: Set coding-tag.
4 14
5 * abbrev.el (abbrev-insert): New function extracted from expand-abbrev. 15 * abbrev.el (abbrev-insert): New function extracted from expand-abbrev.
6 (expand-abbrev): Use it. 16 (expand-abbrev): Use it.