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
27fa387a
Commit
27fa387a
authored
Jul 13, 2011
by
Chong Yidong
Browse files
* bindings.el: Add advertised binding for set-mark-command (Bug#5772).
parent
8bdfa064
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/bindings.el
lisp/bindings.el
+2
-0
No files found.
lisp/ChangeLog
View file @
27fa387a
2011-07-14 Chong Yidong <cyd@stupidchicken.com>
* bindings.el: Add advertised binding for set-mark-command
(Bug#5772).
2011-07-14 Chong Yidong <cyd@stupidchicken.com>
* bindings.el (mode-line-other-buffer):
...
...
lisp/bindings.el
View file @
27fa387a
...
...
@@ -849,6 +849,8 @@ if `inhibit-field-text-motion' is non-nil."
(
define-key
global-map
"\C-@"
'set-mark-command
)
;; Many people are used to typing C-SPC and getting C-@.
(
define-key
global-map
[?\C-
]
'set-mark-command
)
(
put
'set-mark-command
:advertised-binding
[?\C-
]
)
(
define-key
ctl-x-map
"\C-x"
'exchange-point-and-mark
)
(
define-key
ctl-x-map
"\C-@"
'pop-global-mark
)
(
define-key
ctl-x-map
[?\C-
]
'pop-global-mark
)
...
...
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