diff etc/NEWS @ 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 832428782d9f
children ce960720ed3f
line wrap: on
line diff
--- a/etc/NEWS	Thu Aug 19 22:51:09 2010 +0800
+++ b/etc/NEWS	Thu Aug 19 17:43:45 2010 +0200
@@ -453,6 +453,8 @@
 
 * Lisp changes in Emacs 24.1
 
+** New hook post-self-insert-hook run at the end of self-insert-command.
+
 ** Syntax tables support a new "comment style c" additionally to style b.
 ** frame-local variables cannot be let-bound any more.
 ** prog-mode is a new major-mode meant to be the parent of programming mode.