emacs-devel
[Top][All Lists]
Advanced

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

Re: minor modes keymaps are not keymaps?


From: Lennart Borgman
Subject: Re: minor modes keymaps are not keymaps?
Date: Fri, 07 Jul 2006 01:31:05 +0200
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

Luc Teirlinck wrote:
   Then evaluate:

     (keymapp 'maptest-mode-map)

   Why does this give nil?

>From the keymapp docstring:

  A keymap is a list (keymap . ALIST),
  or a symbol whose function definition is itself a keymap.

But maptest-mode-map is a symbol whose _value_ and _not_ whose
function definition is a keymap.  (keymapp maptest-mode-map) returns t.

Ah! Thanks.




reply via email to

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