From f5cb19627849b1c08e4c5fa08116cfa1d475e30b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 18 Jan 1995 23:07:22 +0000 Subject: [PATCH] (check-ispell-version): Use Fundamental mode in the temporary buffer. --- lisp/textmodes/ispell.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.39.5