diff options
| author | Karl Heuer | 1995-04-12 03:13:20 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-04-12 03:13:20 +0000 |
| commit | 81b38822fdeeec374bcc1dbc7b87450f1956d689 (patch) | |
| tree | 97f1657167fde44b6a567f63e84f57cb38008824 | |
| parent | ea3e2043318327c6c8d5fcc7707d1c3d98f4b0b5 (diff) | |
| download | emacs-81b38822fdeeec374bcc1dbc7b87450f1956d689.tar.gz emacs-81b38822fdeeec374bcc1dbc7b87450f1956d689.zip | |
Key [C-M-backspace] defined.
(mode-line-format): Defined.
| -rw-r--r-- | lisp/w32-fns.el | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el index 388a5dd8818..38dc9da2c95 100644 --- a/lisp/w32-fns.el +++ b/lisp/w32-fns.el | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | ;; Copyright (C) 1994 Free Software Foundation, Inc. | 2 | ;; Copyright (C) 1994 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | ;; Author: Geoff Voelker (voelker@cs.washington.edu) | 4 | ;; Author: Geoff Voelker (voelker@cs.washington.edu) |
| 5 | ;; Version: 1 | ||
| 5 | 6 | ||
| 6 | ;; This file is part of GNU Emacs. | 7 | ;; This file is part of GNU Emacs. |
| 7 | 8 | ||
| @@ -22,12 +23,12 @@ | |||
| 22 | ;;; Commentary: | 23 | ;;; Commentary: |
| 23 | 24 | ||
| 24 | ;; (August 12, 1993) | 25 | ;; (August 12, 1993) |
| 25 | ;; NT switches placed in: | 26 | ;; Created. |
| 26 | ;; | ||
| 27 | ;; compile.el, dired-new.el, dired.el, loadup.el, startup.el, subr.el | ||
| 28 | 27 | ||
| 29 | ;; (November 21, 1993) | 28 | ;; (November 21, 1994) |
| 30 | ;; General stuffing for supporting Windows NT. | 29 | ;; [C-M-backspace] defined. |
| 30 | ;; mode-line-format defined to show buffer file type. | ||
| 31 | ;; audio bell initialized. | ||
| 31 | 32 | ||
| 32 | ;;; Code: | 33 | ;;; Code: |
| 33 | 34 | ||
| @@ -35,6 +36,23 @@ | |||
| 35 | (define-key function-key-map [backspace] "\177") | 36 | (define-key function-key-map [backspace] "\177") |
| 36 | (define-key function-key-map [delete] "\C-d") | 37 | (define-key function-key-map [delete] "\C-d") |
| 37 | (define-key function-key-map [M-backspace] [?\M-\177]) | 38 | (define-key function-key-map [M-backspace] [?\M-\177]) |
| 39 | (define-key function-key-map [C-M-backspace] [\C-\M-delete]) | ||
| 40 | |||
| 41 | ;; Show file type (text or binary) on modeline | ||
| 42 | (setq-default mode-line-format | ||
| 43 | (list (purecopy "") | ||
| 44 | 'mode-line-modified | ||
| 45 | 'mode-line-buffer-identification | ||
| 46 | (purecopy " ") | ||
| 47 | 'global-mode-string | ||
| 48 | (purecopy " %[(") | ||
| 49 | (purecopy "%t:") | ||
| 50 | 'mode-name 'mode-line-process 'minor-mode-alist | ||
| 51 | (purecopy "%n") | ||
| 52 | (purecopy ")%]--") | ||
| 53 | (purecopy '(line-number-mode "L%l--")) | ||
| 54 | (purecopy '(-3 . "%p")) | ||
| 55 | (purecopy "-%-"))) | ||
| 38 | 56 | ||
| 39 | ;; Ignore case on file-name completion | 57 | ;; Ignore case on file-name completion |
| 40 | (setq completion-ignore-case t) | 58 | (setq completion-ignore-case t) |
| @@ -112,4 +130,7 @@ against the file name, and TYPE is nil for text, t for binary.") | |||
| 112 | (global-unset-key [C-down-mouse-2]) | 130 | (global-unset-key [C-down-mouse-2]) |
| 113 | (global-unset-key [C-down-mouse-3]) | 131 | (global-unset-key [C-down-mouse-3]) |
| 114 | 132 | ||
| 133 | ;;; Set to a system sound if you want a fancy bell. | ||
| 134 | (set-message-beep nil) | ||
| 135 | |||
| 115 | ;;; winnt.el ends here | 136 | ;;; winnt.el ends here |