aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-01-18 23:07:22 +0000
committerRichard M. Stallman1995-01-18 23:07:22 +0000
commitf5cb19627849b1c08e4c5fa08116cfa1d475e30b (patch)
tree87a3d72baf38558beab8fd867b692f7021f11edc
parenta58ec57dd21b089203fe2215d4064b5f1f48a674 (diff)
downloademacs-f5cb19627849b1c08e4c5fa08116cfa1d475e30b.tar.gz
emacs-f5cb19627849b1c08e4c5fa08116cfa1d475e30b.zip
(check-ispell-version): Use Fundamental mode in the temporary buffer.
-rw-r--r--lisp/textmodes/ispell.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index f010c364c65..6f49747ef64 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1446,8 +1446,8 @@ scrolling the current window. Leave the new window selected."
1446 (set-buffer (get-buffer-create " *ispell-tmp*")) 1446 (set-buffer (get-buffer-create " *ispell-tmp*"))
1447 (erase-buffer) 1447 (erase-buffer)
1448 ;; Avoid obscure bugs caused by users who change the syntax of `.' in 1448 ;; Avoid obscure bugs caused by users who change the syntax of `.' in
1449 ;; whatever default major mode the user uses, e.g. text mode 1449 ;; whatever default major mode the user uses, e.g. text mode.
1450 (set-syntax-table (standard-syntax-table)) 1450 (fundamental-mode)
1451 (let ((status (call-process ispell-program-name nil t nil "-v")) 1451 (let ((status (call-process ispell-program-name nil t nil "-v"))
1452 (case-fold-search t)) 1452 (case-fold-search t))
1453 (goto-char (point-min)) 1453 (goto-char (point-min))