# HG changeset patch # User Eli Zaretskii # Date 1238164956 0 # Node ID b713c93aa5bae1eb3f4bcc91cc5fc053a523a289 # Parent 41e7ab490f69c1df3a3616d6d11a585f3a907379 (The Mark) : Update for removal of the optional argument DEACTIVATE. diff -r 41e7ab490f69 -r b713c93aa5ba doc/lispref/markers.texi --- a/doc/lispref/markers.texi Fri Mar 27 07:26:37 2009 +0000 +++ b/doc/lispref/markers.texi Fri Mar 27 14:42:36 2009 +0000 @@ -650,18 +650,19 @@ @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