From: czkmt Date: Mon, 22 Mar 1999 21:46:30 +0000 (+0000) Subject: * lisp/gnus-offline.el (gnus-offline-popup-menu): Fix. X-Git-Tag: t-gnus-6_10_062-04~2 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=bce3422d4eebdd8e0bb340023c23dafa6adec03e;p=elisp%2Fgnus.git- * lisp/gnus-offline.el (gnus-offline-popup-menu): Fix. --- diff --git a/ChangeLog b/ChangeLog index 13bd232..24a2db0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 1999-03-22 Tsukamoto Tetsuo + * lisp/gnus-offline.el (gnus-offline-popup-menu): Fix. + +1999-03-22 Tsukamoto Tetsuo + * lisp/gnus.el (gnus-revision-number): Increment to 03. * lisp/gnus-offline.el (gnus-offline-popup-menu): Modify so that diff --git a/lisp/gnus-offline.el b/lisp/gnus-offline.el index e0d16be..03126a5 100644 --- a/lisp/gnus-offline.el +++ b/lisp/gnus-offline.el @@ -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)))))