summaryrefslogtreecommitdiff
path: root/lisp/menu-bar.el
diff options
context:
space:
mode:
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 56903cd6c27..ae6e07095f2 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -53,7 +53,8 @@
(define-key menu-bar-tools-menu [calendar] '("Display Calendar" . calendar))
(define-key menu-bar-tools-menu [rmail] '("Read Mail" . rmail))
-(define-key menu-bar-tools-menu [gnus] '("Read Net News" . gnus))
+(if (fboundp 'open-network-stream)
+ (define-key menu-bar-tools-menu [gnus] '("Read Net News" . gnus)))
(define-key menu-bar-tools-menu [separator-vc]
'("--"))