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
3ecd8ad0
Commit
3ecd8ad0
authored
Feb 01, 2001
by
Gerd Moellmann
Browse files
(command-line): Fix code determining whether or not
to use delete-key-deletes-forward-mode.
parent
5b1ee316
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
lisp/startup.el
lisp/startup.el
+9
-9
No files found.
lisp/startup.el
View file @
3ecd8ad0
...
...
@@ -771,15 +771,15 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
(
setq-default
blink-cursor
t
)
(
blink-cursor-mode
1
))
(
when
(
and
(
not
noninteractive
)
;; DOS/Windows systems have a PC-type keyboard which has both
;; <delete> and <backspace> keys.
(
or
(
memq
system-type
'
(
ms-dos
windows-nt
))
(
memq
window-system
'
(
x
))
))
(
setq-default
delete-key-deletes-forward
(
or
(
not
(
fboundp
'
x-backspace-delete-keys-p
))
(
x-backspace-delete-keys-p
))
)
(
delete-key-deletes-forward-mode
1
))
(
unless
noninteractive
;; DOS/Windows systems have a PC-type keyboard which has both
;; <delete> and <backspace> keys.
(
when
(
or
(
memq
system-type
'
(
ms-dos
windows-nt
))
(
and
(
memq
window-system
'
(
x
))
(
fboundp
'x-backspace-delete-keys-p
)
(
x-backspace-delete-keys-p
))
)
(
setq-default
delete-key-deletes-forward
t
)
(
delete-key-deletes-forward-mode
1
))
)
(
when
(
and
(
not
noninteractive
)
(
display-graphic-p
)
...
...
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