* lisp/info.el (Info-find-file): Go to DIR before displaying the error
authorJuri Linkov <juri@jurta.org>
Mon, 13 Jan 2014 08:04:09 +0000 (10:04 +0200)
committerJuri Linkov <juri@jurta.org>
Mon, 13 Jan 2014 08:04:09 +0000 (10:04 +0200)
commit3c0c4562d178819ee3f82f6876c19d61d281358a
treeb4919024da5fd00369ba291bcd5fe2e1b190f7bf
parent25a700d0fd5ef89458259ebc5f3c2aa117557c29
* lisp/info.el (Info-find-file): Go to DIR before displaying the error
about a nonexistent file if no previous Info file is visited.
Use `user-error' instead of `error' for "Info file %s does not exist".
(Info-find-node-2): In case of a nonexistent node in unwind forms
go to the Top node if there is no previous node to revert to.

Fixes: debbugs:16405
lisp/ChangeLog
lisp/info.el