From 7d687545ec13c1984f9664df0f722c9b07a01614 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 10 Mar 1994 07:19:15 +0000 Subject: [PATCH] (ispell-menu-map): Autoload the whole setup. --- lisp/textmodes/ispell.el | 5 +++-- 1 file 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")) -- 2.39.5