changeset 64388:2b4cb2b750b1

(eudc-hotlist-mode): Avoid warnings.
author Richard M. Stallman <rms@gnu.org>
date Sat, 16 Jul 2005 18:10:43 +0000
parents fea47ebca4ae
children 95851e91d5ef
files lisp/net/eudc-hotlist.el
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/eudc-hotlist.el	Sat Jul 16 18:07:59 2005 +0000
+++ b/lisp/net/eudc-hotlist.el	Sat Jul 16 18:10:43 2005 +0000
@@ -51,11 +51,11 @@
   (setq major-mode 'eudc-hotlist-mode)
   (setq mode-name "EUDC-Servers")
   (use-local-map eudc-hotlist-mode-map)
-  (setq mode-popup-menu eudc-hotlist-menu)
-  (when (and eudc-xemacs-p
-	     (featurep 'menubar))
-    (set-buffer-menubar current-menubar)
-    (add-submenu nil (cons "EUDC-Hotlist" (cdr (cdr eudc-hotlist-menu)))))
+  (when (featurep 'xemacs)
+    (setq mode-popup-menu eudc-hotlist-menu)
+    (when (featurep 'menubar)
+      (set-buffer-menubar current-menubar)
+      (add-submenu nil (cons "EUDC-Hotlist" (cdr (cdr eudc-hotlist-menu))))))
   (setq buffer-read-only t)
   (run-mode-hooks 'eudc-hotlist-mode-hook))