aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2003-01-30 22:59:07 +0000
committerDave Love2003-01-30 22:59:07 +0000
commit78f886f2244d16f3662d8e2dc5fd52e62ec87e42 (patch)
treeb712e4213e38d2f2fdd5dc847981b19d9d252ed7
parentfe43016c17995a8af7838d5736681c951361d82d (diff)
downloademacs-78f886f2244d16f3662d8e2dc5fd52e62ec87e42.tar.gz
emacs-78f886f2244d16f3662d8e2dc5fd52e62ec87e42.zip
(lookup-words): Fix last change.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/textmodes/ispell.el5
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9e4db938f50..86f92e0aaf5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12003-01-30 Dave Love <fx@gnu.org>
2
3 * textmodes/ispell.el (lookup-words): Fix last change.
4
12003-01-29 John Paul Wallington <jpw@gnu.org> 52003-01-29 John Paul Wallington <jpw@gnu.org>
2 6
3 * font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'. 7 * font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'.
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 249cbe28972..d4abe768187 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1929,8 +1929,9 @@ Optional second argument contains the dictionary to use; the default is
1929 (while (search-backward "*" nil t) (insert ".")) 1929 (while (search-backward "*" nil t) (insert "."))
1930 (setq word (buffer-string)) 1930 (setq word (buffer-string))
1931 (erase-buffer)) 1931 (erase-buffer))
1932 ;; Use apply since `lookup-dict' can be nil. 1932 (setq status (if lookup-dict
1933 (setq status (apply #'call-process prog nil t nil args word lookup-dict)) 1933 (call-process prog nil t nil args word lookup-dict)
1934 (call-process prog nil t nil args word)))
1934 ;; grep returns status 1 and no output when word not found, which 1935 ;; grep returns status 1 and no output when word not found, which
1935 ;; is a perfectly normal thing. 1936 ;; is a perfectly normal thing.
1936 (if (stringp status) 1937 (if (stringp status)