emacs-devel
[Top][All Lists]
Advanced

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

Re: keymaps.texi


From: Luc Teirlinck
Subject: Re: keymaps.texi
Date: Sat, 15 Jan 2005 13:40:57 -0600 (CST)

Maybe the following is somewhat better than my original patch:

===File ~/keymaps.texi-diff-2===============================
*** keymaps.texi        13 Jan 2005 16:00:33 -0600      1.56
--- keymaps.texi        15 Jan 2005 13:24:18 -0600      
***************
*** 1266,1274 ****
  @defun suppress-keymap keymap &optional nodigits
  @cindex @code{self-insert-command} override
  This function changes the contents of the full keymap @var{keymap} by
! making all the printing characters undefined.  More precisely, it binds
! them to the command @code{undefined}.  This makes ordinary insertion of
! text impossible.  @code{suppress-keymap} returns @code{nil}.
  
  If @var{nodigits} is @code{nil}, then @code{suppress-keymap} defines
  digits to run @code{digit-argument}, and @kbd{-} to run
--- 1266,1275 ----
  @defun suppress-keymap keymap &optional nodigits
  @cindex @code{self-insert-command} override
  This function changes the contents of the full keymap @var{keymap} by
! remapping @code{self-insert-command} to the command @code{undefined}
! (@pxref{Remapping Commands}).  This has the effect of undefining all
! printing characters, thus making ordinary insertion of text impossible.
! @code{suppress-keymap} returns @code{nil}.
  
  If @var{nodigits} is @code{nil}, then @code{suppress-keymap} defines
  digits to run @code{digit-argument}, and @kbd{-} to run
============================================================




reply via email to

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