emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/textmodes/ispell.el, v [EMACS_22_BAS


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/ispell.el, v [EMACS_22_BASE]
Date: Sat, 29 Dec 2007 12:38:19 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Eli Zaretskii <eliz>    07/12/29 12:38:19

Index: ispell.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/textmodes/ispell.el,v
retrieving revision 1.209.2.4
retrieving revision 1.209.2.5
diff -u -b -r1.209.2.4 -r1.209.2.5
--- ispell.el   8 Aug 2007 07:22:46 -0000       1.209.2.4
+++ ispell.el   29 Dec 2007 12:38:19 -0000      1.209.2.5
@@ -349,12 +349,17 @@
   :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\""




reply via email to

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