diff options
| author | Dave Love | 2003-09-11 09:25:50 +0000 |
|---|---|---|
| committer | Dave Love | 2003-09-11 09:25:50 +0000 |
| commit | 8a97200fb4fd0511ca15a2a4d315e6fb1bc82437 (patch) | |
| tree | 44d7bb38ccf42b407bd9b8f407dfec2804f6f814 | |
| parent | 1d1af02ddd35cfb8fb794debf77fb2ec873ddb6d (diff) | |
| download | emacs-8a97200fb4fd0511ca15a2a4d315e6fb1bc82437.tar.gz emacs-8a97200fb4fd0511ca15a2a4d315e6fb1bc82437.zip | |
(list-charset-chars): Set buffer file
coding system.
| -rw-r--r-- | lisp/international/mule-diag.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el index b4a1d3d4cd1..9aed8213e39 100644 --- a/lisp/international/mule-diag.el +++ b/lisp/international/mule-diag.el | |||
| @@ -281,6 +281,10 @@ detailed meanings of these arguments." | |||
| 281 | (interactive (list (read-charset "Character set: "))) | 281 | (interactive (list (read-charset "Character set: "))) |
| 282 | (with-output-to-temp-buffer "*Character List*" | 282 | (with-output-to-temp-buffer "*Character List*" |
| 283 | (with-current-buffer standard-output | 283 | (with-current-buffer standard-output |
| 284 | (if (coding-system-p charset) | ||
| 285 | ;; Useful to be able to do C-u C-x = to find file code, for | ||
| 286 | ;; instance: | ||
| 287 | (set-buffer-file-coding-system charset)) | ||
| 284 | (setq mode-line-format (copy-sequence mode-line-format)) | 288 | (setq mode-line-format (copy-sequence mode-line-format)) |
| 285 | (let ((slot (memq 'mode-line-buffer-identification mode-line-format))) | 289 | (let ((slot (memq 'mode-line-buffer-identification mode-line-format))) |
| 286 | (if slot | 290 | (if slot |