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
6d25a312
Commit
6d25a312
authored
Feb 26, 2008
by
Stefan Monnier
Browse files
(set-mark-command): Deactivate mark on second C-SPC C-SPC
when using transient-mark-mode.
parent
b20e7c7d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
etc/NEWS
etc/NEWS
+2
-0
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/simple.el
lisp/simple.el
+3
-1
No files found.
etc/NEWS
View file @
6d25a312
...
...
@@ -136,6 +136,8 @@ the currently selected Emacs frame.
** Emacs now supports the SVG image format through librsvg2.
** C-SPC C-SPC in transient-mark-mode pushes a mark without activating it.
** transient-mark-mode is now enabled by default.
** If you set find-file-confirm-nonexistent-file to t, then C-x C-f
...
...
lisp/ChangeLog
View file @
6d25a312
2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
* simple.el (set-mark-command): Deactivate mark on second C-SPC C-SPC
when using transient-mark-mode.
2008-02-26 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se>
* progmodes/grep.el (grep-mode-tool-bar-map): Change place on next
...
...
lisp/simple.el
View file @
6d25a312
...
...
@@ -3499,6 +3499,9 @@ purposes. See the documentation of `set-mark' for more information."
mark-active (null transient-mark-mode))
(setq transient-mark-mode 'lambda)
(message "Transient-mark-mode temporarily enabled"))
((and (eq last-command 'set-mark-command)
transient-mark-mode)
(deactivate-mark))
(t
(push-mark-command nil))))
...
...
@@ -4598,7 +4601,6 @@ The variable `selective-display' has a separate value for each buffer."
(princ "." t))
(defvaralias 'indicate-unused-lines 'indicate-empty-lines)
(defvaralias 'default-indicate-unused-lines 'default-indicate-empty-lines)
(defun toggle-truncate-lines (&optional arg)
"Toggle whether to fold or truncate long lines for the current buffer.
...
...
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