Don't bug out in `Info-goto-node' completion
* lisp/info.el (Info-read-node-name-1): Don't bug out in the middle of completion, but return nil instead (and issue a message) (bug#47771).
This commit is contained in:
parent
0b437dd75c
commit
a9f4ee3d3d
1 changed files with 2 additions and 1 deletions
|
@ -1855,7 +1855,8 @@ See `completing-read' for a description of arguments and usage."
|
|||
(lambda (string pred action)
|
||||
(complete-with-action
|
||||
action
|
||||
(Info-build-node-completions (Info-find-file file1 nil t))
|
||||
(when-let ((file2 (Info-find-file file1 'noerror t)))
|
||||
(Info-build-node-completions file2))
|
||||
string pred))
|
||||
nodename predicate code))))
|
||||
;; Otherwise use Info-read-node-completion-table.
|
||||
|
|
Loading…
Add table
Reference in a new issue