changeset 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 05e7543bbb96
children d5a769d08f88
files lisp/textmodes/ispell.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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))