* lisp/gnus-offline.el (gnus-offline-popup-menu): Fix.
authorczkmt <czkmt>
Mon, 22 Mar 1999 21:46:30 +0000 (21:46 +0000)
committerczkmt <czkmt>
Mon, 22 Mar 1999 21:46:30 +0000 (21:46 +0000)
ChangeLog
lisp/gnus-offline.el

index 13bd232..24a2db0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 1999-03-22  Tsukamoto Tetsuo  <czkmt@remus.dti.ne.jp>
 
+       * lisp/gnus-offline.el (gnus-offline-popup-menu): Fix.
+
+1999-03-22  Tsukamoto Tetsuo  <czkmt@remus.dti.ne.jp>
+
        * lisp/gnus.el (gnus-revision-number): Increment to 03.
 
        * lisp/gnus-offline.el (gnus-offline-popup-menu): Modify so that
index e0d16be..03126a5 100644 (file)
@@ -1,5 +1,5 @@
 ;;; gnus-offline.el --- To process mail & news at offline environment.
-;;; $Id: gnus-offline.el,v 1.1.2.5.2.34 1999-03-22 18:13:31 czkmt Exp $
+;;; $Id: gnus-offline.el,v 1.1.2.5.2.35 1999-03-22 21:46:30 czkmt Exp $
 
 ;;; Copyright (C) 1998 Tatsuya Ichikawa
 ;;;                    Yukihiro Ito
@@ -864,22 +864,21 @@ If value is nil , dialup line is disconnected status.")
   (interactive "e")
   (unless gnus-offline-popup-menu
     (setq gnus-offline-popup-menu
-         (or (featurep 'xemacs)
-             (let ((menu
-                    (if (boundp 'miee-popup-menu)
-                        (or (assoc 'keymap
-                                   (assoc 'Miee (assoc 'menu-bar global-map)))
-                            miee-popup-menu)
-                      gnus-offline-menu-on-agent)))
-               (if (string< emacs-version "20")
-                   (append (list 'keymap
-                                 (if (boundp 'miee-popup-menu)
-                                     '(nil "Miee")
-                                   '(nil "Offline"))
-                                 '(nil "")
-                                 '(nil ""))
-                           (cdr menu))
-                 menu)))))
+         (let ((menu
+                (if (boundp 'miee-popup-menu)
+                    (or (assoc 'keymap
+                               (assoc 'Miee (assoc 'menu-bar global-map)))
+                        miee-popup-menu)
+                  gnus-offline-menu-on-agent)))
+           (if (string< emacs-version "20")
+               (append (list 'keymap
+                             (if (boundp 'miee-popup-menu)
+                                 '(nil "Miee")
+                               '(nil "Offline"))
+                             '(nil "")
+                             '(nil ""))
+                       (cdr menu))
+             menu))))
   (let* ((pop (x-popup-menu t gnus-offline-popup-menu))
         (func (and pop (lookup-key gnus-offline-popup-menu
                                    (apply 'vector pop)))))