diff options
| author | Kenichi Handa | 2002-09-25 08:11:03 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2002-09-25 08:11:03 +0000 |
| commit | 3aab6d061d318f7efc9c8ad8c63a6be2e8a38b9e (patch) | |
| tree | ffb347584bac2b9c0f3bd6314e1d2c55e7266a3d | |
| parent | 65262e58c230556d2a1debf4051b4fe6ada8488c (diff) | |
| download | emacs-3aab6d061d318f7efc9c8ad8c63a6be2e8a38b9e.tar.gz emacs-3aab6d061d318f7efc9c8ad8c63a6be2e8a38b9e.zip | |
(list-character-sets): Use the buffer
name "*Character Set List*", not "*Help*".
(list-charset-chars): Use the buffer name "*Character List*", not
"*Help*". Display the current charset name in the modeline.
| -rw-r--r-- | lisp/international/mule-diag.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el index cee82fb6b50..c1d57bbf5d8 100644 --- a/lisp/international/mule-diag.el +++ b/lisp/international/mule-diag.el | |||
| @@ -84,7 +84,7 @@ With prefix arg, the output format gets more cryptic, | |||
| 84 | but still shows the full information." | 84 | but still shows the full information." |
| 85 | (interactive "P") | 85 | (interactive "P") |
| 86 | (help-setup-xref (list #'list-character-sets arg) (interactive-p)) | 86 | (help-setup-xref (list #'list-character-sets arg) (interactive-p)) |
| 87 | (with-output-to-temp-buffer (help-buffer) | 87 | (with-output-to-temp-buffer "*Character Set List*" |
| 88 | (with-current-buffer standard-output | 88 | (with-current-buffer standard-output |
| 89 | (if arg | 89 | (if arg |
| 90 | (list-character-sets-2) | 90 | (list-character-sets-2) |
| @@ -487,8 +487,14 @@ This can list both Emacs `official' (ISO standard) charsets and the | |||
| 487 | characters encoded by various Emacs coding systems which correspond to | 487 | characters encoded by various Emacs coding systems which correspond to |
| 488 | PC `codepages' and other coded character sets. See `non-iso-charset-alist'." | 488 | PC `codepages' and other coded character sets. See `non-iso-charset-alist'." |
| 489 | (interactive (list (read-charset "Character set: "))) | 489 | (interactive (list (read-charset "Character set: "))) |
| 490 | (with-output-to-temp-buffer "*Help*" | 490 | (with-output-to-temp-buffer "*Character List*" |
| 491 | (with-current-buffer standard-output | 491 | (with-current-buffer standard-output |
| 492 | (setq mode-line-format (copy-sequence mode-line-format)) | ||
| 493 | (let ((slot (memq 'mode-line-buffer-identification mode-line-format))) | ||
| 494 | (if slot | ||
| 495 | (setcdr slot | ||
| 496 | (cons (format " (%s)" charset) | ||
| 497 | (cdr slot))))) | ||
| 492 | (setq indent-tabs-mode nil) | 498 | (setq indent-tabs-mode nil) |
| 493 | (set-buffer-multibyte t) | 499 | (set-buffer-multibyte t) |
| 494 | (cond ((charsetp charset) | 500 | (cond ((charsetp charset) |