comparison lisp/international/mule-cmds.el @ 99077:b884f47f864d

(describe-language-environment): Indent sample text.
author Kenichi Handa <handa@m17n.org>
date Thu, 23 Oct 2008 08:05:01 +0000
parents f4efd0ab2185
children a5f24b6e48ef
comparison
equal deleted inserted replaced
99076:06c37ccf1b58 99077:b884f47f864d
2037 (if (stringp doc) 2037 (if (stringp doc)
2038 (insert doc "\n\n")) 2038 (insert doc "\n\n"))
2039 (condition-case nil 2039 (condition-case nil
2040 (let ((str (eval (get-language-info language-name 'sample-text)))) 2040 (let ((str (eval (get-language-info language-name 'sample-text))))
2041 (if (stringp str) 2041 (if (stringp str)
2042 (insert "Sample text:\n " str "\n\n"))) 2042 (insert "Sample text:\n "
2043 (replace-regexp-in-string "\n" "\n " str)
2044 "\n\n")))
2043 (error nil)) 2045 (error nil))
2044 (let ((input-method (get-language-info language-name 'input-method)) 2046 (let ((input-method (get-language-info language-name 'input-method))
2045 (l (copy-sequence input-method-alist)) 2047 (l (copy-sequence input-method-alist))
2046 (first t)) 2048 (first t))
2047 (when (and input-method 2049 (when (and input-method