aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-14 13:36:34 +0000
committerGerd Moellmann2000-12-14 13:36:34 +0000
commit14f076a8ce03667b53ae5848a9932deca278d1c9 (patch)
tree8f1b80b20af40670b8827cee20431a02300f37b5
parent02387dcc1f220af9311bc1a85716fa5a64431649 (diff)
downloademacs-14f076a8ce03667b53ae5848a9932deca278d1c9.tar.gz
emacs-14f076a8ce03667b53ae5848a9932deca278d1c9.zip
(command-line): Call delete-key-deletes-forward-mode,
if appropriate.
-rw-r--r--lisp/startup.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 6978855bd93..06ed24620b2 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -768,6 +768,12 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
768 (blink-cursor-mode 1)) 768 (blink-cursor-mode 1))
769 769
770 (when (and (not noninteractive) 770 (when (and (not noninteractive)
771 (not (eq system-type 'ms-dos))
772 (memq window-system '(x)))
773 (setq-default delete-key-deletes-forward (x-backspace-delete-keys-p))
774 (delete-key-deletes-forward-mode 1))
775
776 (when (and (not noninteractive)
771 (display-graphic-p) 777 (display-graphic-p)
772 (fboundp 'x-show-tip)) 778 (fboundp 'x-show-tip))
773 (setq-default tooltip-mode t) 779 (setq-default tooltip-mode t)