Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e23c2c21
Commit
e23c2c21
authored
May 15, 1993
by
Richard M. Stallman
Browse files
(transient-mark-mode): New command.
parent
bc0db68d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
lisp/simple.el
lisp/simple.el
+12
-0
No files found.
lisp/simple.el
View file @
e23c2c21
...
@@ -1289,6 +1289,18 @@ and it reactivates the mark."
...
@@ -1289,6 +1289,18 @@ and it reactivates the mark."
(
set-mark
(
point
))
(
set-mark
(
point
))
(
goto-char
omark
)
(
goto-char
omark
)
nil
))
nil
))
(
defun
transient-mark-mode
(
arg
)
"Toggle Transient Mark mode.
With arg, turn Transient Mark mode on if and only if arg is positive.
In Transient Mark mode, changing the buffer \"deactivates\" the mark.
While the mark is active, the region is highlighted."
(
interactive
"P"
)
(
setq
transient-mark-mode
(
if
(
null
arg
)
(
not
transient-mark-mode
)
(
>
(
prefix-numeric-value
arg
)
0
))))
(
defvar
next-line-add-newlines
t
(
defvar
next-line-add-newlines
t
"*If non-nil, `next-line' inserts newline to avoid `end of buffer' error."
)
"*If non-nil, `next-line' inserts newline to avoid `end of buffer' error."
)
...
...
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