summaryrefslogtreecommitdiff
path: root/lisp/man.el
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2009-11-25 22:52:02 +0000
committerKevin Ryde <user42@zip.com.au>2009-11-25 22:52:02 +0000
commit573f4575dc88c9bbf0f9103fec0d8558f45190d2 (patch)
tree5123abe9e2358ef459759b9b8f010a758ee6a938 /lisp/man.el
parent002cbde51f9c5f7a9ea39045c272d129c626f8d2 (diff)
downloademacs-573f4575dc88c9bbf0f9103fec0d8558f45190d2.tar.gz
(man): completion-ignore-case t for friendliness and since man
itself is case-insensitive on the command line.
Diffstat (limited to 'lisp/man.el')
-rw-r--r--lisp/man.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/man.el b/lisp/man.el
index cbec29f1250..050ebed81a0 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -799,6 +799,13 @@ all sections related to a subject, put something appropriate into the
`Man-switches' variable, which see."
(interactive
(list (let* ((default-entry (Man-default-man-entry))
+ ;; ignore case because that's friendly for bizarre
+ ;; caps things like the X11 function names and because
+ ;; "man" itself is case-sensitive on the command line
+ ;; so you're accustomed not to bother about the case
+ ;; ("man -k" is case-insensitive similarly, so the
+ ;; table has everything available to complete)
+ (completion-ignore-case t)
(input (completing-read
(format "Manual entry%s"
(if (string= default-entry "")