Mercurial > emacs
changeset 46733:fc2f7f66ce57
(check-ispell-version): Bind default-directory
to avoid errors. Kill the old temp buffer at the beginning.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 29 Jul 2002 17:29:31 +0000 |
parents | c86fc964833f |
children | 3766f43e95a9 |
files | lisp/textmodes/ispell.el |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el Mon Jul 29 13:53:48 2002 +0000 +++ b/lisp/textmodes/ispell.el Mon Jul 29 17:29:31 2002 +0000 @@ -726,8 +726,11 @@ (let ((case-fold-search-val case-fold-search) ;; avoid bugs when syntax of `.' changes in various default modes (default-major-mode 'fundamental-mode) + (default-directory temporary-file-directory) result status) (save-excursion + (let ((buf (get-buffer " *ispell-tmp*"))) + (if buf (kill-buffer buf))) (set-buffer (get-buffer-create " *ispell-tmp*")) (erase-buffer) (setq status (call-process