[gnu.emacs] problem with substitute-command-keys

jv@mhres.mh.nl (Johan Vromans) (05/21/89)

Background: GNU Emacs 18.54.2, HP9000/320, HP-UX 6.2.
	[Emacs has been compiled using GCC 1.33 .]

Try the following in lisp interaction:

	(defvar xx-map nil)
	(make-local-variable 'xx-map)
	(setq xx-map (make-sparse-keymap))
	(define-key xx-map "\C-b" 'revert-buffer)
	(substitute-command-keys "\\{xx-map}")

This will yield the message:

	Uses keymap "xx-map", which is not currently defined.

But when I type

	xx-map

it returns:

	(keymap (2 . revert-buffer))

Is this as should be, or am I overlooking something?

	Johan

-- 
Johan Vromans			 jv@mh.nl via european backbone (mcvax)
Multihouse Automatisering bv		uucp: ..!{mcvax,hp4nl}!mh.nl!jv
Doesburgweg 7					  phone: +31 1820 62944
2803 PL Gouda - The Netherlands			    fax: +31 1820 62500