From 3034e9e7062f655541722fa883a9ea5b0605e10d Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Mon, 4 Jul 2011 00:43:50 +0200 Subject: [PATCH] * info.el (Info-apropos-matches): Make non-interactive, since it doesn't seem to do anything useful as a command. Fixes: debbugs:8829 --- lisp/ChangeLog | 5 +++++ lisp/info.el | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8324f3fdb62..5f1f09afb07 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-07-03 Lars Magne Ingebrigtsen + + * info.el (Info-apropos-matches): Make non-interactive, since it + doesn't seem to do anything useful as a command (bug#8829). + 2011-07-03 Chong Yidong * frame.el (frame-background-mode, frame-set-background-mode): diff --git a/lisp/info.el b/lisp/info.el index bca41c29d0f..dca3df21d5c 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -3281,7 +3281,6 @@ MATCHES is a list of index matches found by `Info-apropos-matches'.") "Collect STRING matches from all known Info files on your system. Return a list of matches where each element is in the format \((FILENAME INDEXTEXT NODENAME LINENUMBER))." - (interactive "sIndex apropos: ") (unless (string= string "") (let ((pattern (format "\n\\* +\\([^\n]*%s[^\n]*\\):[ \t]+\\([^\n]+\\)\\.\\(?:[ \t\n]*(line +\\([0-9]+\\))\\)?" (regexp-quote string))) -- 2.39.2