emacs-devel
[Top][All Lists]
Advanced

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

On definition of `kbd'


From: Herbert Euler
Subject: On definition of `kbd'
Date: Wed, 11 Oct 2006 19:09:56 +0800

I find definition of `kbd' is:

  (defmacro kbd (keys)
    "Convert KEYS to the internal Emacs key representation.
  KEYS should be a string constant in the format used for
  saving keyboard macros (see `edmacro-mode')."
    (read-kbd-macro keys))

This would cause problem when evaluating

 (kbd (car list))

where the `car' of a list is a key sequence text.  Is the
definition correct?  I think the body should be

 `(read-kbd-macro ,keys)

Regards,
Guanpeng Xu

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/





reply via email to

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