emacs-devel
[Top][All Lists]
Advanced

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

?? call-interactively doesn't always make KEYS available to `interactive


From: Alan Mackenzie
Subject: ?? call-interactively doesn't always make KEYS available to `interactive' form.
Date: Mon, 6 Apr 2009 14:27:09 +0000
User-agent: Mutt/1.5.9i

Hi, Emacs!

In

  (call-interactively FUNCTION &optional RECORD-FLAG KEYS)

, KEYS is a list of key/mouse events to be used in place of
(this-command-keys) (or something similar).

If FUNCTION contains `(interactive "string")', KEYS gets used properly.
If it has `(interactive (lisp-form))', though, the lisp-form can't access
KEYS.

Surely, this is a bug?

[Context: I'm documenting lisp equivalents for code letters in
interactive "string"s.]

-- 
Alan Mackenzie (Nuremberg, Germany).




reply via email to

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