* lisp/info.el (Info-file-completions): New variable.
authorJuri Linkov <juri@jurta.org>
Thu, 27 Dec 2012 20:42:02 +0000 (22:42 +0200)
committerJuri Linkov <juri@jurta.org>
Thu, 27 Dec 2012 20:42:02 +0000 (22:42 +0200)
commit313f39aa03cc40ddc4faea08636c74bfa52ec099
tree2b8066dc0bd728aaf3247a1a136304811f95d5b9
parenta45b76475ee930497cca375432b44aa0def77fa0
* lisp/info.el (Info-file-completions): New variable.
(Info-read-node-name-1): Complete node names in the Info file
when a file name is given.  Call `Info-build-node-completions'
with a file name.
(Info-build-node-completions): Add new arg `file'.  When it is
non-nil, visit it in a temporary buffer and cache its completions in
`Info-current-file-completions'.  Move most of the function body to
`Info-build-node-completions-1'.
(Info-build-node-completions-1): New function with the body from
`Info-build-node-completions'.

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