diff options
| author | Kenichi Handa | 2002-11-06 01:07:49 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2002-11-06 01:07:49 +0000 |
| commit | f4f008275cd9faa9153106e455e4f5b5e2658a9a (patch) | |
| tree | 5287ef8889b9f3d433a0ebca2d6a1bcd827a9bd0 | |
| parent | cab278f58f4c3a374fa0fb8ad37e7b71c1d07f5e (diff) | |
| download | emacs-f4f008275cd9faa9153106e455e4f5b5e2658a9a.tar.gz emacs-f4f008275cd9faa9153106e455e4f5b5e2658a9a.zip | |
(coding-system-eol-type-mnemonic): Use
eol-mnemonic-undecided if CODING-SYSTEM is nil.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/international/mule.el | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 89d42cbeff8..5d25e368957 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-11-06 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * international/mule.el (coding-system-eol-type-mnemonic): Use | ||
| 4 | eol-mnemonic-undecided if CODING-SYSTEM is nil. | ||
| 5 | |||
| 1 | 2002-11-06 Kim F. Storm <storm@cua.dk> | 6 | 2002-11-06 Kim F. Storm <storm@cua.dk> |
| 2 | 7 | ||
| 3 | * info.el (Info-fontify-node): Fixed hiding of *note references | 8 | * info.el (Info-fontify-node): Fixed hiding of *note references |
diff --git a/lisp/international/mule.el b/lisp/international/mule.el index f325c60b80e..4e45baf0741 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el | |||
| @@ -516,11 +516,10 @@ coding system whose eol-type is N." | |||
| 516 | (defun coding-system-eol-type-mnemonic (coding-system) | 516 | (defun coding-system-eol-type-mnemonic (coding-system) |
| 517 | "Return the string indicating end-of-line format of CODING-SYSTEM." | 517 | "Return the string indicating end-of-line format of CODING-SYSTEM." |
| 518 | (let* ((eol-type (coding-system-eol-type coding-system)) | 518 | (let* ((eol-type (coding-system-eol-type coding-system)) |
| 519 | (val (cond ((vectorp eol-type) eol-mnemonic-undecided) | 519 | (val (cond ((eq eol-type 0) eol-mnemonic-unix) |
| 520 | ((eq eol-type 0) eol-mnemonic-unix) | ||
| 521 | ((eq eol-type 1) eol-mnemonic-dos) | 520 | ((eq eol-type 1) eol-mnemonic-dos) |
| 522 | ((eq eol-type 2) eol-mnemonic-mac) | 521 | ((eq eol-type 2) eol-mnemonic-mac) |
| 523 | (t "-")))) | 522 | (t eol-mnemonic-undecided)))) |
| 524 | (if (stringp val) | 523 | (if (stringp val) |
| 525 | val | 524 | val |
| 526 | (char-to-string val)))) | 525 | (char-to-string val)))) |