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:
parent
a58ec57dd2
commit
f5cb196278
1 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue