changeset 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 0757f6ee2e53
children 86b5dc6c12f5
files lisp/textmodes/ispell.el
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
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)