From 5b42ec2b00aafad7562762ed159079f00a0b8a2a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 8 Apr 1995 20:40:33 +0000 Subject: [PATCH] (menu-bar-edit-menu): Don't define ispell item unless start-process is fboundp. --- lisp/menu-bar.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 5ac5066e39a..1bb226f7a8c 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -206,7 +206,8 @@ (define-key menu-bar-search-menu [search-fwd] '("Search" . nonincremental-search-forward)) -(define-key menu-bar-edit-menu [spell] '("Spell" . ispell-menu-map)) +(if (fboundp 'start-process) + (define-key menu-bar-edit-menu [spell] '("Spell" . ispell-menu-map))) (define-key menu-bar-edit-menu [fill] '("Fill" . fill-region)) (define-key menu-bar-edit-menu [props] '("Text Properties" . facemenu-menu)) -- 2.39.5