Commit 14f076a8 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(command-line): Call delete-key-deletes-forward-mode,

if appropriate.
parent 02387dcc
......@@ -767,6 +767,12 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
(setq-default blink-cursor t)
(blink-cursor-mode 1))
(when (and (not noninteractive)
(not (eq system-type 'ms-dos))
(memq window-system '(x)))
(setq-default delete-key-deletes-forward (x-backspace-delete-keys-p))
(delete-key-deletes-forward-mode 1))
(when (and (not noninteractive)
(display-graphic-p)
(fboundp 'x-show-tip))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment