From: Richard M. Stallman Date: Thu, 10 Mar 1994 07:19:15 +0000 (+0000) Subject: (ispell-menu-map): Autoload the whole setup. X-Git-Tag: emacs-19.34~9568 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7d687545ec13c1984f9664df0f722c9b07a01614;p=emacs.git (ispell-menu-map): Autoload the whole setup. --- diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 27f0d077a83..88d0bbbabdd 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -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"))