From: Kevin Ryde Date: Sat, 26 Dec 2009 21:32:51 +0000 (+0000) Subject: Tweak a comment: it's man-db on gnu/linux which agrees with posix that X-Git-Tag: emacs-pretest-23.1.91~25 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b58dd7079340909d63f6d729b1d16025059db82f;p=emacs.git Tweak a comment: it's man-db on gnu/linux which agrees with posix that man -k arg is an egrep regexp. (No need to changelog something this small is there?) --- diff --git a/lisp/man.el b/lisp/man.el index c39621449f6..a5d62f3fb81 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -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.