[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/textmodes/ispell.el
From: |
Dave Love |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/textmodes/ispell.el |
Date: |
Thu, 30 Jan 2003 17:58:32 -0500 |
Index: emacs/lisp/textmodes/ispell.el
diff -c emacs/lisp/textmodes/ispell.el:1.135
emacs/lisp/textmodes/ispell.el:1.136
*** emacs/lisp/textmodes/ispell.el:1.135 Mon Jan 6 15:46:57 2003
--- emacs/lisp/textmodes/ispell.el Thu Jan 30 17:58:32 2003
***************
*** 1929,1936 ****
(while (search-backward "*" nil t) (insert "."))
(setq word (buffer-string))
(erase-buffer))
! ;; Use apply since `lookup-dict' can be nil.
! (setq status (apply #'call-process prog nil t nil args word
lookup-dict))
;; grep returns status 1 and no output when word not found, which
;; is a perfectly normal thing.
(if (stringp status)
--- 1929,1937 ----
(while (search-backward "*" nil t) (insert "."))
(setq word (buffer-string))
(erase-buffer))
! (setq status (if lookup-dict
! (call-process prog nil t nil args word lookup-dict)
! (call-process prog nil t nil args word)))
;; grep returns status 1 and no output when word not found, which
;; is a perfectly normal thing.
(if (stringp status)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/textmodes/ispell.el,
Dave Love <=