comparison lisp/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 c39af0d0a834
children 29102470d546
comparison
equal deleted inserted replaced
109880:22ddbf1e2954 109881:3db1493a6f89
1 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca> 1 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * facemenu.el (facemenu-self-insert-data): New var.
4 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5 New functions.
6 (facemenu-add-face): Use them.
2 7
3 * simple.el (blink-matching-open): Obey forward-sexp-function. 8 * simple.el (blink-matching-open): Obey forward-sexp-function.
4 9
5 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca> 10 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6 11