1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00

(check-ispell-version): Use Fundamental mode in the temporary buffer.

This commit is contained in:
Richard M. Stallman 1995-01-18 23:07:22 +00:00
parent a58ec57dd2
commit f5cb196278

View 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))