Mercurial > emacs
comparison src/ChangeLog @ 109881:3db1493a6f89
New post-self-insert-hook.
* src/cmds.c (Vself_insert_face, Vself_insert_face_command): Remove.
(Qpost_self_insert_hook, Vpost_self_insert_hook): New vars.
(internal_self_insert): Run post-self-insert-hook rather than handle
self-insert-face.
(syms_of_cmds): Initialize the new vars.
* lisp/facemenu.el (facemenu-self-insert-data): New var.
(facemenu-post-self-insert-function, facemenu-set-self-insert-face): New funs.
(facemenu-add-face): Use them.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 19 Aug 2010 17:43:45 +0200 |
parents | 22ddbf1e2954 |
children | 793d8afe2140 |
comparison
equal
deleted
inserted
replaced
109880:22ddbf1e2954 | 109881:3db1493a6f89 |
---|---|
1 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca> | |
2 | |
3 * cmds.c (Vself_insert_face, Vself_insert_face_command): Remove. | |
4 (Qpost_self_insert_hook, Vpost_self_insert_hook): New vars. | |
5 (internal_self_insert): Run Qpost_self_insert_hook rather than handle | |
6 self-insert-face. | |
7 (syms_of_cmds): Initialize the new vars. | |
8 | |
1 2010-08-19 Jason Rumney <jasonr@gnu.org> | 9 2010-08-19 Jason Rumney <jasonr@gnu.org> |
2 | 10 |
3 * w32fns.c (w32_wnd_proc): Don't check context before initializing. | 11 * w32fns.c (w32_wnd_proc): Don't check context before initializing. |
4 | 12 |
5 2010-08-19 Jan Djärv <jan.h.d@swipnet.se> | 13 2010-08-19 Jan Djärv <jan.h.d@swipnet.se> |