emacs-devel
[Top][All Lists]
Advanced

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

Re: Updated Patch for command remapping through keymaps


From: Juanma Barranquero
Subject: Re: Updated Patch for command remapping through keymaps
Date: Thu, 07 Feb 2002 10:39:43 +0100

On 06 Feb 2002 22:23:56 +0100, address@hidden (Kim F. Storm) wrote:

> I will do that as soon as I have committed my current set of patches.

Before your patches:

ELISP> (global-set-key (kbd "C-c a") #'(lambda (arg) (interactive "p") (message 
"%s" arg)))
(lambda
  (arg)
  (interactive "p")
  (message "%s" arg))

ELISP> (where-is-internal (lookup-key global-map (kbd "C-c a")))
([3 97])

After your patches:

ELISP> (global-set-key (kbd "C-c a") #'(lambda (arg) (interactive "p") (message 
"%s" arg)))
(lambda
  (arg)
  (interactive "p")
  (message "%s" arg))

ELISP> (where-is-internal (lookup-key global-map (kbd "C-c a")))
*** Eval error ***  Wrong type argument: arrayp, (lambda (arg) (interactive 
"p") (message "%s" arg))


                                                           /L/e/k/t/u




reply via email to

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