1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00

Mark python-mode abbrevs as system abbrevs.

* progmodes/python.el (python-skeleton-define): Mark abbrevs as
system abbrevs.

* ansi-color.el (ansi-color-apply-on-region): Doc fix.
This commit is contained in:
Chong Yidong 2012-06-23 17:28:10 +08:00
parent d054f3fb9a
commit 0e9e6c6abc
3 changed files with 15 additions and 6 deletions

View file

@ -2152,7 +2152,8 @@ be added to `python-mode-abbrev-table'."
(let* ((name (symbol-name name))
(function-name (intern (concat "python-skeleton-" name))))
`(progn
(define-abbrev python-mode-abbrev-table ,name "" ',function-name)
(define-abbrev python-mode-abbrev-table ,name "" ',function-name
:system t)
(setq python-skeleton-available
(cons ',function-name python-skeleton-available))
(define-skeleton ,function-name