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
9d4850e5
Commit
9d4850e5
authored
Jan 16, 2001
by
Gerd Moellmann
Browse files
Bind <backspace> and <delete> via function-key-map.
Don't bind <delete> otherwise.
parent
ec9f4754
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
lisp/ChangeLog
lisp/ChangeLog
+6
-0
lisp/bindings.el
lisp/bindings.el
+5
-2
No files found.
lisp/ChangeLog
View file @
9d4850e5
...
...
@@ -7,6 +7,12 @@
2001-01-16 Gerd Moellmann <gerd@gnu.org>
* bindings.el: Bind <backspace> and <delete> via function-key-map.
Don't bind <delete> otherwise.
* simple.el (delete-key-deletes-forward-mode): Bind <backspace>
and <delete> via function-key-map.
* textmodes/flyspell.el (mail-mode-flyspell-verify): Check in
Subject line only if point is after the `Subject:'.
...
...
lisp/bindings.el
View file @
9d4850e5
;;; bindings.el --- define standard key bindings and some variables.
;; Copyright (C) 1985,86,87,92,93,94,95,96,99,2000
;; Copyright (C) 1985,86,87,92,93,94,95,96,99,2000
, 2001
;; Free Software Foundation, Inc.
;; Maintainer: FSF
...
...
@@ -619,7 +619,8 @@ language you are using."
(
define-key
global-map
[menu]
'execute-extended-command
)
(
define-key
global-map
[find]
'search-forward
)
(
define-key
global-map
[delete]
'backward-delete-char
)
;; Don't do this. We define <delete> in function-key-map instead.
;(define-key global-map [delete] 'backward-delete-char)
;; natural bindings for terminal keycaps --- defined in X keysym order
(
define-key
global-map
[home]
'beginning-of-line
)
...
...
@@ -731,6 +732,8 @@ language you are using."
(
define-key
function-key-map
[kp-begin]
[begin]
)
(
define-key
function-key-map
[kp-insert]
[insert]
)
(
define-key
function-key-map
[kp-delete]
[delete]
)
(
define-key
function-key-map
[backspace]
[?\C-?]
)
(
define-key
function-key-map
[delete]
[?\C-?]
)
(
define-key
global-map
[mouse-movement]
'ignore
)
...
...
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