diff options
| author | Kenichi Handa | 2000-11-06 00:11:18 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-11-06 00:11:18 +0000 |
| commit | e036b0a6b33659732b7ddda6880ca50b0762632c (patch) | |
| tree | 62b76a56fbb561db3d56eb5d55cd21747ddc6ec5 | |
| parent | e2a20aa7918fe70d13423b43e8cc72e2a94d6dfc (diff) | |
| download | emacs-e036b0a6b33659732b7ddda6880ca50b0762632c.tar.gz emacs-e036b0a6b33659732b7ddda6880ca50b0762632c.zip | |
(describe-language-environment): Eval
`sample-text' data and insert the result.
| -rw-r--r-- | lisp/international/mule-cmds.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index f02c470c8b5..d21f9de2628 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -1512,9 +1512,11 @@ of buffer-file-coding-system set by this function." | |||
| 1512 | (insert language-name " language environment\n\n") | 1512 | (insert language-name " language environment\n\n") |
| 1513 | (if (stringp doc) | 1513 | (if (stringp doc) |
| 1514 | (insert doc "\n\n")) | 1514 | (insert doc "\n\n")) |
| 1515 | (let ((str (get-language-info language-name 'sample-text))) | 1515 | (condition-case nil |
| 1516 | (if (stringp str) | 1516 | (let ((str (eval (get-language-info language-name 'sample-text)))) |
| 1517 | (insert "Sample text:\n " str "\n\n"))) | 1517 | (if (stringp str) |
| 1518 | (insert "Sample text:\n " str "\n\n"))) | ||
| 1519 | (error nil)) | ||
| 1518 | (let ((input-method (get-language-info language-name 'input-method)) | 1520 | (let ((input-method (get-language-info language-name 'input-method)) |
| 1519 | (l (copy-sequence input-method-alist))) | 1521 | (l (copy-sequence input-method-alist))) |
| 1520 | (insert "Input methods") | 1522 | (insert "Input methods") |