changeset 10462:8a21a21c3163

(check-ispell-version): Use Fundamental mode in the temporary buffer.
author Richard M. Stallman <rms@gnu.org>
date Wed, 18 Jan 1995 23:07:22 +0000
parents d3dee0c530d6
children 4f1637fdc916
files lisp/textmodes/ispell.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el	Wed Jan 18 22:13:34 1995 +0000
+++ b/lisp/textmodes/ispell.el	Wed Jan 18 23:07:22 1995 +0000
@@ -1446,8 +1446,8 @@
     (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))