# HG changeset patch # User Eli Zaretskii # Date 994412478 0 # Node ID 4a7286bcdc6d8bb1872d6c8737b4d92bd5adde88 # Parent b97c155e69765b5fd7a8f9afe1448902222e8762 (mode-line-mule-info): Don't show the tip with buffer-file-coding-system if that is nil. diff -r b97c155e6976 -r 4a7286bcdc6d lisp/bindings.el --- a/lisp/bindings.el Fri Jul 06 08:41:36 2001 +0000 +++ b/lisp/bindings.el Fri Jul 06 09:41:18 2001 +0000 @@ -137,12 +137,15 @@ (purecopy (lambda (window object point) (save-window-excursion (select-window window) - (if enable-multibyte-characters - (concat (symbol-name buffer-file-coding-system) - " buffer; see M-x describe-coding-system") - (concat "Unibyte " - (symbol-name buffer-file-coding-system) - " buffer"))))))) + ;; Don't show this tip if the coding system is nil, + ;; it reads like a bug, and is not useful anyway. + (when buffer-file-coding-system + (if enable-multibyte-characters + (concat (symbol-name buffer-file-coding-system) + " buffer; see M-x describe-coding-system") + (concat "Unibyte " + (symbol-name buffer-file-coding-system) + " buffer")))))))) "Mode-line control for displaying information of multilingual environment. Normally it displays current input method (if any activated) and mnemonics of the following coding systems: