mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
(command-line): Call delete-key-deletes-forward-mode,
if appropriate.
This commit is contained in:
parent
02387dcc1f
commit
14f076a8ce
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user