]> git.eshelyaron.com Git - emacs.git/commitdiff
(check-ispell-version): Force standard syntax table.
authorKarl Heuer <kwzh@gnu.org>
Wed, 18 Jan 1995 20:00:08 +0000 (20:00 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 18 Jan 1995 20:00:08 +0000 (20:00 +0000)
lisp/textmodes/ispell.el

index 4dd8b1aaf0056a9204fcfe86dfe90e33ff1aae73..f010c364c651d9224360b370a12c2772a9b4b080 100644 (file)
@@ -1445,6 +1445,9 @@ scrolling the current window.  Leave the new window selected."
   (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))