changeset 17140:a6f8fb00d93e

(Info-read-node-name): Caused completing-read to force the input read to match a valid entry
author Karl Heuer <kwzh@gnu.org>
date Sat, 08 Mar 1997 19:19:51 +0000
parents 37acf21ce6f6
children 057591eb7f91
files lisp/info.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Sat Mar 08 19:08:39 1997 +0000
+++ b/lisp/info.el	Sat Mar 08 19:19:51 1997 +0000
@@ -1,6 +1,6 @@
 ;;; info.el --- info package for Emacs.
 
-;; Copyright (C) 1985, 1986, 1992, 1993, 1994 Free Software Foundation, Inc.
+;; Copyright (C) 1985-1986, 1992-1997 Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
 ;; Keywords: help
@@ -695,7 +695,7 @@
 (defun Info-read-node-name (prompt &optional default)
   (let* ((completion-ignore-case t)
 	 (completion-table (Info-build-node-completions))
-	 (nodename (completing-read prompt 'Info-read-node-name-1)))
+	 (nodename (completing-read prompt 'Info-read-node-name-1 nil t)))
     (if (equal nodename "")
 	(or default
 	    (Info-read-node-name prompt))