changeset 11309:c584bf36429f

(menu-bar-edit-menu): Don't define ispell item unless start-process is fboundp.
author Richard M. Stallman <rms@gnu.org>
date Sat, 08 Apr 1995 20:40:33 +0000
parents 1401dd853db7
children 3466b44b0a11
files lisp/menu-bar.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/menu-bar.el	Sat Apr 08 20:15:20 1995 +0000
+++ b/lisp/menu-bar.el	Sat Apr 08 20:40:33 1995 +0000
@@ -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))