emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: insert-char and post-self-insert-hook


From: Stefan Monnier
Subject: Re: insert-char and post-self-insert-hook
Date: Fri, 25 Jan 2013 18:32:45 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> I guess we could make insert-char use self-insert-command instead of
>> insert, indeed.
> Thanks -- which would save me one explicit advice call:-)

I see now that it's not so easy: insert-char is called from Elisp at
many places, and many of those shouldn't expand abbrevs, blink parens or
run post-self-insert-hook.

So maybe a better way is to change C-x 8 RET to run another command
than insert-char (which would run self-insert-command).


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]