From c5e0006dc4610342195733c14ab9fe4e7137adf8 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 27 Mar 2009 14:43:14 +0000 Subject: [PATCH] (The Mark) : Update for removal of the optional argument DEACTIVATE. --- doc/lispref/ChangeLog | 5 +++++ doc/lispref/markers.texi | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index f0f6f754fc3..11565e9041e 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,8 @@ +2009-03-27 Eli Zaretskii + + * markers.texi (The Mark) : Update for + removal of the optional argument DEACTIVATE. + 2009-03-25 Chong Yidong * commands.texi (Focus Events): Most X window managers don't use diff --git a/doc/lispref/markers.texi b/doc/lispref/markers.texi index e636ce97078..54b674b4669 100644 --- a/doc/lispref/markers.texi +++ b/doc/lispref/markers.texi @@ -650,18 +650,19 @@ more marks than this are pushed onto the @code{mark-ring}, @code{push-mark} discards an old mark when it adds a new one. @end defopt -@defun handle-shift-selection &optional deactivate +@defun handle-shift-selection This function checks whether the current command was invoked via shift translation (@pxref{Key Sequence Input, shift-translation}), and if so, sets the mark and temporarily activates the region, unless the region is already temporarily activated in this way. If the command -was invoked without shift translation, or if the optional argument -@var{deactivate} is non-@code{nil}, the function deactivates the mark. +was invoked without shift translation and the region is temporarily +active, or if the region was activated by the mouse, the function +deactivates the mark. + This function is called whenever a command with a @samp{^} character in its @code{interactive} spec (@pxref{Interactive Codes, ^}) is invoked while @code{shift-select-mode} (@pxref{Shift Selection,,, emacs, The GNU Emacs Manual}) is non-@code{nil}. - @end defun @node The Region -- 2.39.5