emacs-devel
[Top][All Lists]
Advanced

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

Re: How to avoid insert anything without switching to read only


From: Richard M. Stallman
Subject: Re: How to avoid insert anything without switching to read only
Date: Sun, 10 Jul 2005 01:19:13 -0400

When you put advice on primitive functions,
it only works when they are called from Lisp code.
The command loop calls self-insert directly in
a special way, so your advice is not called.

What you should do is rebind those characters to run
another command, one that does your special thing
and calls self-insert.




reply via email to

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