]> code.delx.au - gnu-emacs/commitdiff
(ispell-menu-map): Autoload the whole setup.
authorRichard M. Stallman <rms@gnu.org>
Thu, 10 Mar 1994 07:19:15 +0000 (07:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 10 Mar 1994 07:19:15 +0000 (07:19 +0000)
lisp/textmodes/ispell.el

index 27f0d077a8389e543b4aa74d18779de7d6c8052a..88d0bbbabddc669a3d3c74afe7b6743b592e3618 100644 (file)
@@ -457,9 +457,10 @@ language.aff file \(e.g., english.aff\).")
 
 ;;; ispell-menu-map from menu-bar.el
 
+;;;###autoload
 (defvar ispell-menu-map nil)
-(if (and (featurep 'menu-bar)          ; GNU emacs
-        (string-match "^19\\." emacs-version))
+;;;###autoload
+(if (null ispell-menu-map)
     (let ((dicts (reverse (cons (cons "default" nil) ispell-dictionary-alist)))
          name)
       (setq ispell-menu-map (make-sparse-keymap "Spell"))