diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-04-08 20:40:33 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-04-08 20:40:33 +0000 |
commit | 8124f43ac78a468f6e0e205d3f4d329a797adfe8 (patch) | |
tree | 8f910265f2858c4f25a75d158615be811f0f094c /lisp/menu-bar.el | |
parent | de67220f9996f1883c3f09ea86c4395d57bcaa86 (diff) | |
download | emacs-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.el | 3 |
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)) |