diff options
| author | Karl Heuer | 1997-02-22 19:23:31 +0000 |
|---|---|---|
| committer | Karl Heuer | 1997-02-22 19:23:31 +0000 |
| commit | f8bce5df30129d20a63d7a6269ac8b02a8133f8d (patch) | |
| tree | 52712c018a7f38c404514c21fce771885bdfdbc8 | |
| parent | 32f4ab179e310ca28ec60ded3a9216352066c7bd (diff) | |
| download | emacs-f8bce5df30129d20a63d7a6269ac8b02a8133f8d.tar.gz emacs-f8bce5df30129d20a63d7a6269ac8b02a8133f8d.zip | |
(mode-line-mule-info): New variable.
(mode-line-format): Include it.
| -rw-r--r-- | lisp/bindings.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el index 3978afa58e7..66a8c511d55 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -47,6 +47,14 @@ | |||
| 47 | 47 | ||
| 48 | ;;; Code: | 48 | ;;; Code: |
| 49 | 49 | ||
| 50 | (defconst mode-line-mule-info | ||
| 51 | (purecopy '(enable-multibyte-characters | ||
| 52 | ((current-input-method ("[" current-input-method-title "]")) | ||
| 53 | "%z:"))) | ||
| 54 | "Mode-line control for displaying information of multilingual environment.") | ||
| 55 | |||
| 56 | (make-variable-buffer-local 'mode-line-mule-info) | ||
| 57 | |||
| 50 | (defvar mode-line-buffer-identification (purecopy '("%F: %12b")) | 58 | (defvar mode-line-buffer-identification (purecopy '("%F: %12b")) |
| 51 | "Mode-line control for identifying the buffer being displayed. | 59 | "Mode-line control for identifying the buffer being displayed. |
| 52 | Its default value is (\"%F: %12b\"). Under X, `%F' is replaced with `Emacs'. | 60 | Its default value is (\"%F: %12b\"). Under X, `%F' is replaced with `Emacs'. |
| @@ -68,6 +76,7 @@ Normally nil in most modes, since there is no process to display.") | |||
| 68 | 76 | ||
| 69 | (setq-default mode-line-format | 77 | (setq-default mode-line-format |
| 70 | (list (purecopy "") | 78 | (list (purecopy "") |
| 79 | 'mode-line-mule-info | ||
| 71 | 'mode-line-modified | 80 | 'mode-line-modified |
| 72 | 'mode-line-buffer-identification | 81 | 'mode-line-buffer-identification |
| 73 | (purecopy " ") | 82 | (purecopy " ") |