From: Karl Heuer Date: Thu, 1 Oct 1998 19:23:42 +0000 (+0000) Subject: (check-ispell-version): No need to bind X-Git-Tag: emacs-20.4~1589 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fefaefefc124672e89d9d2b0adc332f587361324;p=emacs.git (check-ispell-version): No need to bind default-major-mode. --- diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 09b3a4d4028..3ac18011d5a 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -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)