diff options
| author | Juanma Barranquero | 2013-06-19 00:13:25 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2013-06-19 00:13:25 +0200 |
| commit | 14dd22d2cedad0e1babcce0fea868a0c01294fa2 (patch) | |
| tree | 49f91c1cf89ab6ea0dcc92234bb6988d62d404d5 /test | |
| parent | ec9295aeaa0ca3616507b66bd6e2f81dce05e820 (diff) | |
| download | emacs-14dd22d2cedad0e1babcce0fea868a0c01294fa2.tar.gz emacs-14dd22d2cedad0e1babcce0fea868a0c01294fa2.zip | |
Convert symbol prettification into minor mode and global minor mode.
* etc/NEWS: Document new Prettify Symbols mode.
* lisp/progmodes/prog-mode.el (prettify-symbols-alist): Rename from
`prog-prettify-symbols', and make a local defvar instead of defcustom.
(prettify-symbols--keywords): Rename from `prog-prettify-symbols-alist'
and make a local defvar.
(prettify-symbols--compose-symbol): Rename from
`prog--prettify-font-lock-compose-symbol'.
(prettify-symbols--make-keywords): Rename from
`prog-prettify-font-lock-symbols-keywords' and simplify.
(prog-prettify-install): Remove.
(prettify-symbols-mode): New minor mode, based on `prog-prettify-install'.
(turn-on-prettify-symbols-mode): New function.
(global-prettify-symbols-mode): New globalized minor mode.
* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables):
* lisp/progmodes/cfengine.el (cfengine3-mode):
* lisp/progmodes/perl-mode.el (perl-mode): Don't call `prog-prettify-install';
set `prettify-symbols-alist' instead.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions