Function: coding-system-eol-type-mnemonic

coding-system-eol-type-mnemonic is a byte-compiled function defined in mule.el.gz.

Signature

(coding-system-eol-type-mnemonic CODING-SYSTEM)

Documentation

Return the string indicating end-of-line format of CODING-SYSTEM.

Source Code

;; Defined in /usr/src/emacs/lisp/international/mule.el.gz
(defun coding-system-eol-type-mnemonic (coding-system)
  "Return the string indicating end-of-line format of CODING-SYSTEM."
  (let* ((eol-type (coding-system-eol-type coding-system))
	 (val (cond ((eq eol-type 0) eol-mnemonic-unix)
		    ((eq eol-type 1) eol-mnemonic-dos)
		    ((eq eol-type 2) eol-mnemonic-mac)
		    (t eol-mnemonic-undecided))))
    (if (stringp val)
	val
      (char-to-string val))))