changeset 106248:e35ae171fed1

(man): completion-ignore-case t for friendliness and since man itself is case-insensitive on the command line.
author Kevin Ryde <user42@zip.com.au>
date Wed, 25 Nov 2009 22:51:07 +0000
parents 6f850f541818
children 970115624642
files lisp/man.el
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/man.el	Wed Nov 25 22:42:11 2009 +0000
+++ b/lisp/man.el	Wed Nov 25 22:51:07 2009 +0000
@@ -799,6 +799,13 @@
 `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 "")