From: Richard M. Stallman Date: Wed, 18 Jan 1995 23:07:22 +0000 (+0000) Subject: (check-ispell-version): Use Fundamental mode in the temporary buffer. X-Git-Tag: emacs-19.34~5396 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f5cb19627849b1c08e4c5fa08116cfa1d475e30b;p=emacs.git (check-ispell-version): Use Fundamental mode in the temporary buffer. --- diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index f010c364c65..6f49747ef64 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1446,8 +1446,8 @@ scrolling the current window. Leave the new window selected." (set-buffer (get-buffer-create " *ispell-tmp*")) (erase-buffer) ;; Avoid obscure bugs caused by users who change the syntax of `.' in - ;; whatever default major mode the user uses, e.g. text mode - (set-syntax-table (standard-syntax-table)) + ;; whatever default major mode the user uses, e.g. text mode. + (fundamental-mode) (let ((status (call-process ispell-program-name nil t nil "-v")) (case-fold-search t)) (goto-char (point-min))