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

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

Re: Passing key bound to function as argument


From: August Karlstrom
Subject: Re: Passing key bound to function as argument
Date: Thu, 27 Oct 2005 21:55:21 GMT
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)

Edward O'Connor wrote:
This is not the best way to do what you'd like, but ItWorksForMe(TM):

(defun ted-self-insert-command ()
  (insert (this-command-keys)))

Thanks. I wrote my function like

   (defun f (key)
      (interactive (list (this-command-keys)))
      ...)


August


reply via email to

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