Commit a9b511e0 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(mode-line-mule-info): Don't show the tip with

buffer-file-coding-system if that is nil.
parent ad782551
2001-07-06 Eli Zaretskii <eliz@is.elta.co.il>
* bindings.el (mode-line-mule-info): Don't show the tip with
buffer-file-coding-system if that is nil.
2001-07-05 Gerd Moellmann <gerd@gnu.org>
 
* calendar/todo-mode.el (todo-top-priorities): Use delete-region
......
......@@ -137,12 +137,15 @@ corresponding to the mode line clicked."
(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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment