From: Brian Fox Date: Mon, 25 Oct 1993 06:18:23 +0000 (+0000) Subject: (ispell): If the buffer to spell has no associated file, or, the X-Git-Tag: emacs-19.34~10962 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6351296c27dd984d59c777509b021b1cb376354e;p=emacs.git (ispell): If the buffer to spell has no associated file, or, the associated file has a special handler, use a temporary file with the buffer contents to pass to the local ispell process. --- diff --git a/lisp/textmodes/ispell4.el b/lisp/textmodes/ispell4.el index f448ffe2f72..a4f55710ceb 100644 --- a/lisp/textmodes/ispell4.el +++ b/lisp/textmodes/ispell4.el @@ -273,7 +273,8 @@ q, \\[keyboard-quit] Leave the command loop. You can come back later with \\[is (delete-temp nil)) (unwind-protect (progn - (cond ((null filename) + (cond ((or (null filename) + (find-file-name-handler buffer-file-name)) (setq filename (make-temp-name "/usr/tmp/ispell")) (setq delete-temp t) (write-region (point-min) (point-max) filename))