From 6f248850ea846835ffba6dfd20efcd6dec18933b Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Thu, 20 Sep 2001 01:13:29 +0000 Subject: [PATCH] * lib/edit.spell.rc: Try aspell before resorting to ispell. --- ChangeLog | 2 ++ lib/edit.spell.rc | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 608493339..8f96bea10 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2001-09-19 Pavel Roskin + * lib/edit.spell.rc: Try aspell before resorting to ispell. + * syntax/php.syntax: Replace with a better implementation by Max Schedriviy diff --git a/lib/edit.spell.rc b/lib/edit.spell.rc index 122e49f74..2bd91cc53 100644 --- a/lib/edit.spell.rc +++ b/lib/edit.spell.rc @@ -5,4 +5,8 @@ # $2 - highlight block file name # $3 - error file name -ispell "$2" 2>"$3" +if aspell /dev/null 2>&1; then + aspell -c "$2" 2>"$3" +else + ispell "$2" 2>"$3" +fi