bug#4056: 23.1.50; use shell-command completion for M-x man page names

[email protected]
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
Gentlemen, as you know when you do M-x man and get the prompt
   Manual entry (default blabla):
there is no TAB completion.

Well as many of the man pages are the same names as shell commands, why
not just use the same completion as shell-command and
shell-command-on-region use?

It's better than nothing, and one can still enter other names too.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.