Tweak a comment: it's man-db on gnu/linux which agrees with posix that
authorKevin Ryde <user42@zip.com.au>
Sat, 26 Dec 2009 21:32:51 +0000 (21:32 +0000)
committerKevin Ryde <user42@zip.com.au>
Sat, 26 Dec 2009 21:32:51 +0000 (21:32 +0000)
man -k arg is an egrep regexp.

(No need to changelog something this small is there?)

lisp/man.el

index c396214..a5d62f3 100644 (file)
@@ -763,9 +763,9 @@ POS defaults to `point'."
       (unless (and Man-completion-cache
                    (string-prefix-p (car Man-completion-cache) prefix))
         (with-temp-buffer
-          (setq default-directory "/") ;; in case inherited doesn't
-          ;; exist Actually for my `man' the arg is a regexp.
-          ;; POSIX says it must be ERE and GNU/Linux seems to agree,
+          (setq default-directory "/") ;; in case inherited doesn't exist
+          ;; Actually for my `man' the arg is a regexp.
+          ;; POSIX says it must be ERE and "man-db" seems to agree,
           ;; whereas under MacOSX it seems to be BRE-style and doesn't
           ;; accept backslashes at all.  Let's not bother to
           ;; quote anything.