diff lisp/textmodes/ispell.el @ 10454:99fa50b971ec

(check-ispell-version): Force standard syntax table.
author Karl Heuer <kwzh@gnu.org>
date Wed, 18 Jan 1995 20:00:08 +0000
parents 37fa43bb8056
children 8a21a21c3163
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el	Wed Jan 18 19:47:52 1995 +0000
+++ b/lisp/textmodes/ispell.el	Wed Jan 18 20:00:08 1995 +0000
@@ -1445,6 +1445,9 @@
   (save-excursion
     (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))
     (let ((status (call-process ispell-program-name nil t nil "-v"))
 	  (case-fold-search t))
       (goto-char (point-min))