emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp man.el


From: Kevin Ryde
Subject: [Emacs-diffs] emacs/lisp man.el
Date: Wed, 25 Nov 2009 22:51:07 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Kevin Ryde <kryde>      09/11/25 22:51:07

Modified files:
        lisp           : man.el 

Log message:
        (man): completion-ignore-case t for friendliness and since man
        itself is case-insensitive on the command line.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/man.el?cvsroot=emacs&r1=1.190&r2=1.191

Patches:
Index: man.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/man.el,v
retrieving revision 1.190
retrieving revision 1.191
diff -u -b -r1.190 -r1.191
--- man.el      25 Nov 2009 22:41:06 -0000      1.190
+++ man.el      25 Nov 2009 22:51:07 -0000      1.191
@@ -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 "")




reply via email to

[Prev in Thread] Current Thread [Next in Thread]