Fix info-apropos when the default encoding is Latin-N
commit3d139d59fb0c3f4027109d4fac271a8aa52db5fc
authorEli Zaretskii <eliz@gnu.org>
Sat, 18 Jul 2015 18:43:21 +0000 (18 21:43 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 Jul 2015 18:43:21 +0000 (18 21:43 +0300)
tree25b86badc892f5866c86bda6180680b7c85bef81
parent5d72d5d1f4d105556196d99f0ea3838dfedd2f10
Fix info-apropos when the default encoding is Latin-N

* lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
'undecided', so that it is set to the encoding of the Info file we
are about to insert.  Otherwise, 'info-apropos' will fail to find
some index nodes in some UTF-8 encoded files, if the buffer's
previous encoding is Latin-N or some such.
lisp/info.el