summaryrefslogtreecommitdiff
path: root/lisp/info.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2009-10-19 13:29:34 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2009-10-19 13:29:34 +0000
commit3c13704df68536621363a59349d17a306a828c1a (patch)
treeef11b0f316a3cd26cc445264b5d4fb97377317bd /lisp/info.el
parent019d2c4c58da1284eb2e27ebe56f65e46b3beec0 (diff)
downloademacs-3c13704df68536621363a59349d17a306a828c1a.tar.gz
(Info-complete-menu-item): Use complete-with-action.
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/info.el b/lisp/info.el
index db26bbd8b3e..d82d580daab 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -2480,9 +2480,7 @@ Because of ambiguities, this should be concatenated with something like
(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)