diff lisp/info.el @ 105673:6220a5eef4ef

(Info-complete-menu-item): Use complete-with-action.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 19 Oct 2009 13:29:34 +0000
parents 96a9f1a0939b
children a5942def89eb
line wrap: on
line diff
--- a/lisp/info.el	Mon Oct 19 05:13:31 2009 +0000
+++ b/lisp/info.el	Mon Oct 19 13:29:34 2009 +0000
@@ -2480,9 +2480,7 @@
 		   (list Info-current-file Info-current-node
 			 Info-complete-next-re string completions
 			 Info-complete-nodes)))
-	    (if action
-		(all-completions string completions predicate)
-	      (try-completion string completions predicate))))))))
+            (complete-with-action action completions string predicate)))))))
 
 
 (defun Info-menu (menu-item &optional fork)