Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c5e0006d
Commit
c5e0006d
authored
Mar 27, 2009
by
Eli Zaretskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(The Mark) <handle-shift-selection>: Update for removal of the optional
argument DEACTIVATE.
parent
67ceab9d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
doc/lispref/ChangeLog
doc/lispref/ChangeLog
+5
-0
doc/lispref/markers.texi
doc/lispref/markers.texi
+5
-4
No files found.
doc/lispref/ChangeLog
View file @
c5e0006d
2009
-
03
-
27
Eli
Zaretskii
<
eliz
@
gnu
.
org
>
*
markers
.
texi
(
The
Mark
)
<
handle
-
shift
-
selection
>:
Update
for
removal
of
the
optional
argument
DEACTIVATE
.
2009
-
03
-
25
Chong
Yidong
<
cyd
@
stupidchicken
.
com
>
*
commands
.
texi
(
Focus
Events
):
Most
X
window
managers
don
't use
...
...
doc/lispref/markers.texi
View file @
c5e0006d
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment