Commit f88bdc45 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

lisp/emacs-lisp/package.el (describe-package-1): Decode commentary (bug#16733).

parent 51a7978a
2014-03-19 Juanma Barranquero <lekktu@gmail.com>
* emacs-lisp/package.el (describe-package-1):
Decode commentary (bug#16733).
2014-03-18 Juanma Barranquero <lekktu@gmail.com>
* custom.el (defcustom): Doc fix: recommend avoiding destructive
......
......@@ -1531,7 +1531,8 @@ If optional arg NO-ACTIVATE is non-nil, don't activate packages."
(setq readme-string (buffer-string))
t))
(error nil))
(insert readme-string))
(let ((coding (detect-coding-string readme-string t)))
(insert (decode-coding-string readme-string coding t))))
((file-readable-p readme)
(insert-file-contents readme)
(goto-char (point-max))))))))
......
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