Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a9b511e0
Commit
a9b511e0
authored
Jul 06, 2001
by
Eli Zaretskii
Browse files
(mode-line-mule-info): Don't show the tip with
buffer-file-coding-system if that is nil.
parent
ad782551
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/bindings.el
lisp/bindings.el
+9
-6
No files found.
lisp/ChangeLog
View file @
a9b511e0
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
...
...
lisp/bindings.el
View file @
a9b511e0
...
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment