diff options
| author | Eli Zaretskii | 2001-07-06 09:44:26 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-07-06 09:44:26 +0000 |
| commit | a9b511e0c0053ebf7a91bb3d50329b5aa3a6e5a7 (patch) | |
| tree | f7c35ba64971cd7038cb36df42806f6ebedcd2e4 | |
| parent | ad782551325b7c694ee234b5ff4c5688d90e561c (diff) | |
| download | emacs-a9b511e0c0053ebf7a91bb3d50329b5aa3a6e5a7.tar.gz emacs-a9b511e0c0053ebf7a91bb3d50329b5aa3a6e5a7.zip | |
(mode-line-mule-info): Don't show the tip with
buffer-file-coding-system if that is nil.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/bindings.el | 15 |
2 files changed, 14 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6e445fc8108..1dced20e163 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-07-06 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2 | |||
| 3 | * bindings.el (mode-line-mule-info): Don't show the tip with | ||
| 4 | buffer-file-coding-system if that is nil. | ||
| 5 | |||
| 1 | 2001-07-05 Gerd Moellmann <gerd@gnu.org> | 6 | 2001-07-05 Gerd Moellmann <gerd@gnu.org> |
| 2 | 7 | ||
| 3 | * calendar/todo-mode.el (todo-top-priorities): Use delete-region | 8 | * calendar/todo-mode.el (todo-top-priorities): Use delete-region |
diff --git a/lisp/bindings.el b/lisp/bindings.el index 10a098be306..519d2b59c30 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -137,12 +137,15 @@ corresponding to the mode line clicked." | |||
| 137 | (purecopy (lambda (window object point) | 137 | (purecopy (lambda (window object point) |
| 138 | (save-window-excursion | 138 | (save-window-excursion |
| 139 | (select-window window) | 139 | (select-window window) |
| 140 | (if enable-multibyte-characters | 140 | ;; Don't show this tip if the coding system is nil, |
| 141 | (concat (symbol-name buffer-file-coding-system) | 141 | ;; it reads like a bug, and is not useful anyway. |
| 142 | " buffer; see M-x describe-coding-system") | 142 | (when buffer-file-coding-system |
| 143 | (concat "Unibyte " | 143 | (if enable-multibyte-characters |
| 144 | (symbol-name buffer-file-coding-system) | 144 | (concat (symbol-name buffer-file-coding-system) |
| 145 | " buffer"))))))) | 145 | " buffer; see M-x describe-coding-system") |
| 146 | (concat "Unibyte " | ||
| 147 | (symbol-name buffer-file-coding-system) | ||
| 148 | " buffer")))))))) | ||
| 146 | "Mode-line control for displaying information of multilingual environment. | 149 | "Mode-line control for displaying information of multilingual environment. |
| 147 | Normally it displays current input method (if any activated) and | 150 | Normally it displays current input method (if any activated) and |
| 148 | mnemonics of the following coding systems: | 151 | mnemonics of the following coding systems: |