diff options
| author | Kenichi Handa | 2004-10-12 05:24:14 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-10-12 05:24:14 +0000 |
| commit | ffce76c02568e51f9ab94a68109f3707cdeccbf8 (patch) | |
| tree | 14d83d586439389ac67848d1321560e4bdeae55b | |
| parent | e62e7654ac785834b72bfb8784ff34d203d3190f (diff) | |
| download | emacs-ffce76c02568e51f9ab94a68109f3707cdeccbf8.tar.gz emacs-ffce76c02568e51f9ab94a68109f3707cdeccbf8.zip | |
(coding-system-equal): Moved to mule.el.
| -rw-r--r-- | lisp/international/mule-util.el | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lisp/international/mule-util.el b/lisp/international/mule-util.el index 1d1fe539116..1700c315187 100644 --- a/lisp/international/mule-util.el +++ b/lisp/international/mule-util.el | |||
| @@ -315,19 +315,6 @@ Optional 3rd argument NIL-FOR-TOO-LONG non-nil means return nil | |||
| 315 | (coding-system-get coding-system 'translation-table-for-encode)) | 315 | (coding-system-get coding-system 'translation-table-for-encode)) |
| 316 | 316 | ||
| 317 | ;;;###autoload | 317 | ;;;###autoload |
| 318 | (defun coding-system-equal (coding-system-1 coding-system-2) | ||
| 319 | "Return t if and only if CODING-SYSTEM-1 and CODING-SYSTEM-2 are identical. | ||
| 320 | Two coding systems are identical if two symbols are equal | ||
| 321 | or one is an alias of the other." | ||
| 322 | (or (eq coding-system-1 coding-system-2) | ||
| 323 | (and (equal (coding-system-spec coding-system-1) | ||
| 324 | (coding-system-spec coding-system-2)) | ||
| 325 | (let ((eol-type-1 (coding-system-eol-type coding-system-1)) | ||
| 326 | (eol-type-2 (coding-system-eol-type coding-system-2))) | ||
| 327 | (or (eq eol-type-1 eol-type-2) | ||
| 328 | (and (vectorp eol-type-1) (vectorp eol-type-2))))))) | ||
| 329 | |||
| 330 | ;;;###autoload | ||
| 331 | (defmacro detect-coding-with-priority (from to priority-list) | 318 | (defmacro detect-coding-with-priority (from to priority-list) |
| 332 | "Detect a coding system of the text between FROM and TO with PRIORITY-LIST. | 319 | "Detect a coding system of the text between FROM and TO with PRIORITY-LIST. |
| 333 | PRIORITY-LIST is an alist of coding categories vs the corresponding | 320 | PRIORITY-LIST is an alist of coding categories vs the corresponding |