diff lisp/textmodes/ispell.el @ 23360:16e76929ca71

(check-ispell-version): No need to bind default-major-mode.
author Karl Heuer <kwzh@gnu.org>
date Thu, 01 Oct 1998 19:23:42 +0000
parents 2fe1a52e6932
children 4fec4f8a1ee2
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el	Thu Oct 01 18:51:39 1998 +0000
+++ b/lisp/textmodes/ispell.el	Thu Oct 01 19:23:42 1998 +0000
@@ -1709,10 +1709,8 @@
   ;; 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)