summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-03-10 07:19:15 +0000
committerRichard M. Stallman <rms@gnu.org>1994-03-10 07:19:15 +0000
commit7d687545ec13c1984f9664df0f722c9b07a01614 (patch)
tree7b5268e57fb718ef01a8ad29495b8c05327e998a
parent845ca0c85308e6561a4c579ee161d5016d3f634a (diff)
downloademacs-7d687545ec13c1984f9664df0f722c9b07a01614.tar.gz
(ispell-menu-map): Autoload the whole setup.
-rw-r--r--lisp/textmodes/ispell.el5
1 files changed, 3 insertions, 2 deletions
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"))