summaryrefslogtreecommitdiff
path: root/lisp/menu-bar.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-04-08 20:40:33 +0000
committerRichard M. Stallman <rms@gnu.org>1995-04-08 20:40:33 +0000
commit8124f43ac78a468f6e0e205d3f4d329a797adfe8 (patch)
tree8f910265f2858c4f25a75d158615be811f0f094c /lisp/menu-bar.el
parentde67220f9996f1883c3f09ea86c4395d57bcaa86 (diff)
downloademacs-8124f43ac78a468f6e0e205d3f4d329a797adfe8.tar.gz
(menu-bar-edit-menu): Don't define ispell item unless start-process is fboundp.
Diffstat (limited to 'lisp/menu-bar.el')
-rw-r--r--lisp/menu-bar.el3
1 files changed, 2 insertions, 1 deletions
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))