[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/keymaps.texi
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/keymaps.texi |
Date: |
Sat, 25 Jan 2003 14:45:17 -0500 |
Index: emacs/lispref/keymaps.texi
diff -c emacs/lispref/keymaps.texi:1.40 emacs/lispref/keymaps.texi:1.41
*** emacs/lispref/keymaps.texi:1.40 Mon Jan 13 02:59:04 2003
--- emacs/lispref/keymaps.texi Sat Jan 25 14:45:16 2003
***************
*** 103,110 ****
A keymap is a list whose @sc{car} is the symbol @code{keymap}. The
remaining elements of the list define the key bindings of the keymap.
! Use the function @code{keymapp} (see below) to test whether an object is
! a keymap.
Several kinds of elements may appear in a keymap, after the symbol
@code{keymap} that begins it:
--- 103,111 ----
A keymap is a list whose @sc{car} is the symbol @code{keymap}. The
remaining elements of the list define the key bindings of the keymap.
! A symbol whose function definition is a keymap is also a keymap. Use
! the function @code{keymapp} (see below) to test whether an object is a
! keymap.
Several kinds of elements may appear in a keymap, after the symbol
@code{keymap} that begins it:
***************
*** 202,212 ****
@defun keymapp object
This function returns @code{t} if @var{object} is a keymap, @code{nil}
otherwise. More precisely, this function tests for a list whose
! @sc{car} is @code{keymap}.
@example
@group
(keymapp '(keymap))
@result{} t
@end group
@group
--- 203,219 ----
@defun keymapp object
This function returns @code{t} if @var{object} is a keymap, @code{nil}
otherwise. More precisely, this function tests for a list whose
! @sc{car} is @code{keymap}, or for a symbol whose function definition
! satisfies @code{keymapp}.
@example
@group
(keymapp '(keymap))
+ @result{} t
+ @end group
+ @group
+ (fset 'foo '(keymap))
+ (keymapp 'foo)
@result{} t
@end group
@group
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lispref/keymaps.texi,
Richard M. Stallman <=