Commit fefaefef authored by Karl Heuer's avatar Karl Heuer
Browse files

(check-ispell-version): No need to bind

default-major-mode.
parent 380c917d
......@@ -1709,10 +1709,8 @@ scrolling the current window. Leave the new window selected."
;; all versions, since versions earlier than 3.0.09 didn't identify
;; themselves on startup.
(interactive "p")
(let (case-fold-search status
;; avoid bugs when syntax of `.' changes in various default modes
(default-major-mode 'fundamental-mode)
(result t))
(let ((result t)
case-fold-search status)
(save-excursion
(set-buffer (get-buffer-create " *ispell-tmp*"))
(setq case-fold-search t)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment