diff options
| -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 |