Commit 0865d506 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix bug #14755 which prevented autoloads from being computed.

 lisp/international/mule-cmds.el (select-safe-coding-system): Handle
 the case of FROM being a string correctly.
parent 2fae38e5
2013-06-30 Eli Zaretskii <eliz@gnu.org>
* international/mule-cmds.el (select-safe-coding-system): Handle
the case of FROM being a string correctly. (Bug#14755)
2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/shr.el (shr-make-table-1): Add a sanity check that allows
......
......@@ -1031,7 +1031,10 @@ and try again)? " coding-system auto-cs))
(error "Canceled because the buffer was modified"))
(if (and (eq (coding-system-type coding-system) 'undecided)
(coding-system-get coding-system :prefer-utf-8)
(< (- to from) (- (position-bytes to) (position-bytes from))))
(or (multibyte-string-p from)
(and (number-or-marker-p from)
(< (- to from)
(- (position-bytes to) (position-bytes from))))))
(setq coding-system
(coding-system-change-text-conversion coding-system 'utf-8)))
coding-system)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment