From: Lars Magne Ingebrigtsen Date: Sun, 3 Jul 2011 22:43:50 +0000 (+0200) Subject: * info.el (Info-apropos-matches): Make non-interactive, since it X-Git-Tag: emacs-pretest-24.0.90~104^2~152^2~206^2~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3034e9e7062f655541722fa883a9ea5b0605e10d;p=emacs.git * info.el (Info-apropos-matches): Make non-interactive, since it doesn't seem to do anything useful as a command. Fixes: debbugs:8829 --- 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)))