help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: key interception in major mode


From: Stefan Monnier
Subject: Re: key interception in major mode
Date: Sat, 14 Jan 2006 21:47:22 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> I am writing my own major mode. How can I make my own function called
> on every key press?

(define-key my-major-mode-map [t] 'my-own-special-catch-all-function)

Most likely it's not going to do what you want, tho.  Please give us
more details.


        Stefan


reply via email to

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