]> git.eshelyaron.com Git - emacs.git/commitdiff
(check-ispell-version): Use Fundamental mode in the temporary buffer.
authorRichard M. Stallman <rms@gnu.org>
Wed, 18 Jan 1995 23:07:22 +0000 (23:07 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 18 Jan 1995 23:07:22 +0000 (23:07 +0000)
lisp/textmodes/ispell.el

index f010c364c651d9224360b370a12c2772a9b4b080..6f49747ef6457109074ba56e140124a59f0992b4 100644 (file)
@@ -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))