[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Passing key bound to function as argument
From: |
Kevin Rodgers |
Subject: |
Re: Passing key bound to function as argument |
Date: |
Thu, 27 Oct 2005 12:53:43 -0600 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041105) |
August Karlstrom wrote:
> Suppose I want to make my own `self-insert-command' (but implemented in
> Elisp). How would I go about?
(defun self-insert-command (n)
(interactive "p")
...)
But it won't get called, because command_loop_1 optimizes out the call
to the Lisp binding and uses the C binding (Fself_insert_command) directly.
--
Kevin Rodgers