changeset 6284:f32d9beb4acb

(ispell-menu-map): Autoload the whole setup.
author Richard M. Stallman <rms@gnu.org>
date Thu, 10 Mar 1994 07:19:15 +0000
parents 8616f990feaf
children 27515aae66a8
files lisp/textmodes/ispell.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el	Thu Mar 10 06:25:56 1994 +0000
+++ b/lisp/textmodes/ispell.el	Thu Mar 10 07:19:15 1994 +0000
@@ -457,9 +457,10 @@
 
 ;;; 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"))