Make Info-mode usable with UTF-8 info docs.
authorSteve Youngs <steve@sxemacs.org>
Wed, 26 Feb 2020 05:24:19 +0000 (15:24 +1000)
committerSteve Youngs <steve@sxemacs.org>
Wed, 26 Feb 2020 05:24:19 +0000 (15:24 +1000)
commit7e5ce553f29e2aa1e724cabe85fae869793efa7f
tree3ea47ec737a1165edf73c914c2ab215cfa98cfcf
parent10019727dbf4ba9f38ff9013a2dfa943b1bf570c
Make Info-mode usable with UTF-8 info docs.

This changeset, which I fully admit, is an ugly hack.  Sorry, not
sorry. But it means that UTF-8 info documents are now both readable
and navigable.  Finally I can read info docs again!!

* lisp/info.el (Info-find-file-node): Add a horrible ugly hack to
the horrible ugly hack so that this won't lose when searching a
UTF-8 info file.
(Info-insert-file-contents): Cater for info files that have a
'Local variables' section.
Replace the funky chars throughout the file with their octal
numeric to keep things cleaner.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
lisp/info.el