diff options
author | Miles Bader <[email protected]> | 2008-01-02 02:20:42 +0000 |
---|---|---|
committer | Miles Bader <[email protected]> | 2008-01-02 02:20:42 +0000 |
commit | b201b9880e01120b7e64f82c98464c5bea630b0d (patch) | |
tree | 8205967f8225afc15b26f7fb630ec4e6b4ef87ea /lisp/textmodes | |
parent | 42a0a13593c252378b8d6eecd97b7971ebd6808a (diff) | |
parent | 76564e7ce3b5e888e3260dd3510c3cf1a254f7da (diff) |
Merge from emacs--rel--22, gnus--devo--0
Revision: [email protected]/emacs--devo--0--patch-975
Diffstat (limited to 'lisp/textmodes')
-rw-r--r-- | lisp/textmodes/ispell.el | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 82d11c47e8..104e79acb4 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -336,12 +336,17 @@ Always stores Fcc copy of message when nil." :group 'ispell) -(defcustom ispell-grep-command "egrep" +(defcustom ispell-grep-command + ;; MS-Windows/MS-DOS have `egrep' as a Unix shell script, so they + ;; cannot invoke it. Use "grep -E" instead (see ispell-grep-options + ;; below). + (if (memq system-type '(windows-nt ms-dos)) "grep" "egrep") "Name of the grep command for search processes." :type 'string :group 'ispell) -(defcustom ispell-grep-options "-i" +(defcustom ispell-grep-options + (if (memq system-type '(windows-nt ms-dos)) "-Ei" "-i") "String of options to use when running the program in `ispell-grep-command'. Should probably be \"-i\" or \"-e\". Some machines (like the NeXT) don't support \"-i\"" |