diff options
| author | Gerd Moellmann | 2000-12-14 13:36:34 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-12-14 13:36:34 +0000 |
| commit | 14f076a8ce03667b53ae5848a9932deca278d1c9 (patch) | |
| tree | 8f1b80b20af40670b8827cee20431a02300f37b5 | |
| parent | 02387dcc1f220af9311bc1a85716fa5a64431649 (diff) | |
| download | emacs-14f076a8ce03667b53ae5848a9932deca278d1c9.tar.gz emacs-14f076a8ce03667b53ae5848a9932deca278d1c9.zip | |
(command-line): Call delete-key-deletes-forward-mode,
if appropriate.
| -rw-r--r-- | lisp/startup.el | 6 |
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) |