Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f4f00827
Commit
f4f00827
authored
Nov 06, 2002
by
Kenichi Handa
Browse files
(coding-system-eol-type-mnemonic): Use
eol-mnemonic-undecided if CODING-SYSTEM is nil.
parent
cab278f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/international/mule.el
lisp/international/mule.el
+2
-3
No files found.
lisp/ChangeLog
View file @
f4f00827
2002-11-06 Kenichi Handa <handa@m17n.org>
* international/mule.el (coding-system-eol-type-mnemonic): Use
eol-mnemonic-undecided if CODING-SYSTEM is nil.
2002-11-06 Kim F. Storm <storm@cua.dk>
* info.el (Info-fontify-node): Fixed hiding of *note references
...
...
lisp/international/mule.el
View file @
f4f00827
...
...
@@ -516,11 +516,10 @@ coding system whose eol-type is N."
(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 ((vectorp eol-type) eol-mnemonic-undecided)
((eq eol-type 0) eol-mnemonic-unix)
(val (cond ((eq eol-type 0) eol-mnemonic-unix)
((eq eol-type 1) eol-mnemonic-dos)
((eq eol-type 2) eol-mnemonic-mac)
(t
"
-
"
))))
(t
eol-mnemonic-undecided
))))
(if (stringp val)
val
(char-to-string val))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment