Mercurial > emacs
comparison lisp/international/codepage.el @ 41989:fd3c70d7a093
Follow doc-string conventions.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Wed, 12 Dec 2001 20:07:32 +0000 |
parents | ac35ef786b2d |
children | 858065a2176d 1b9937bcfbf4 |
comparison
equal
deleted
inserted
replaced
41988:49d5b75391a4 | 41989:fd3c70d7a093 |
---|---|
586 (cp-coding-system-for-codepage-1 | 586 (cp-coding-system-for-codepage-1 |
587 (intern codepage) ?D iso-name decode-translation encode-translation) | 587 (intern codepage) ?D iso-name decode-translation encode-translation) |
588 )) | 588 )) |
589 | 589 |
590 (defun cp-codepage-decoder (codepage) | 590 (defun cp-codepage-decoder (codepage) |
591 "If CODEPAGE is the name of a supported codepage, return its decode table; | 591 "If CODEPAGE is the name of a supported codepage, return its decode table. |
592 otherwise return nil." | 592 Otherwise return nil." |
593 (let ((cp (if (symbolp codepage) (symbol-name codepage) codepage))) | 593 (let ((cp (if (symbolp codepage) (symbol-name codepage) codepage))) |
594 (cond | 594 (cond |
595 ((stringp cp) | 595 ((stringp cp) |
596 (intern-soft (format "%s-decode-table" cp))) | 596 (intern-soft (format "%s-decode-table" cp))) |
597 (t nil)))) | 597 (t nil)))) |