emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lispref/commands.texi


From: Luc Teirlinck
Subject: [Emacs-diffs] Changes to emacs/lispref/commands.texi
Date: Sun, 08 Aug 2004 11:48:34 -0400

Index: emacs/lispref/commands.texi
diff -c emacs/lispref/commands.texi:1.53 emacs/lispref/commands.texi:1.54
*** emacs/lispref/commands.texi:1.53    Sat Aug  7 01:11:21 2004
--- emacs/lispref/commands.texi Sun Aug  8 15:44:24 2004
***************
*** 750,758 ****
  that invoked the present command, plus any previous commands that
  generated the prefix argument for this command.  However, if the
  command has called @code{read-key-sequence}, it returns the last read
! key sequence.  @xref{Definition of read-key-sequence}.  The value is a
! string if all events in the sequence were characters that fit in a
! string.  @xref{Input Events}.
  
  @example
  @group
--- 750,758 ----
  that invoked the present command, plus any previous commands that
  generated the prefix argument for this command.  However, if the
  command has called @code{read-key-sequence}, it returns the last read
! key sequence.  @xref{Key Sequence Input}.  The value is a string if
! all events in the sequence were characters that fit in a string.
! @xref{Input Events}.
  
  @example
  @group
***************
*** 2019,2025 ****
  
  @defun read-key-sequence prompt
  @cindex key sequence
- @anchor{Definition of read-key-sequence}
  This function reads a key sequence and returns it as a string or
  vector.  It keeps reading events until it has accumulated a complete key
  sequence; that is, enough to specify a non-prefix command using the
--- 2019,2024 ----
***************
*** 2906,2920 ****
  alter the user's init file so that this will apply to future sessions.
  @end deffn
  
! @defvar disabled-command-hook
! When the user invokes a disabled command interactively, this normal hook
! is run instead of the disabled command.  The hook functions can use
! @code{this-command-keys} to determine what the user typed to run the
! command, and thus find the command itself.  @xref{Hooks}.
! 
! By default, @code{disabled-command-hook} contains a function that asks
! the user whether to proceed.  If the value is @code{nil}, then all
! commands work normally, even disabled ones.
  @end defvar
  
  @node Command History
--- 2905,2922 ----
  alter the user's init file so that this will apply to future sessions.
  @end deffn
  
! @defvar disabled-command-function
! The value of this variable should be a function.  When the user
! invokes a disabled command interactively, this function is called
! instead of the disabled command.  It can use @code{this-command-keys}
! to determine what the user typed to run the command, and thus find the
! command itself.
! 
! The value may also be @code{nil}.  Then all commands work normally,
! even disabled ones.
! 
! By default, the value is a function that asks the user whether to
! proceed.
  @end defvar
  
  @node Command History




reply via email to

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