X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=tm-mail.el;h=b9cae544611e819c6f391240bfb76eb34c08de16;hb=e2aa14e5654094e9e8dc4434192bab7f8974e0f7;hp=ee2277cfcf703e1c7a300fca4b5314c200ab3331;hpb=80f1943d32ac9df38fcdce6a8396e4d64b2a4e13;p=elisp%2Ftm.git diff --git a/tm-mail.el b/tm-mail.el index ee2277c..b9cae54 100644 --- a/tm-mail.el +++ b/tm-mail.el @@ -1,13 +1,14 @@ ;;; ;;; tm-mail.el --- mail-mode extension. ;;; -;;; Copyright (C) 1995 KOBAYASHI Shuhei +;;; Copyright (C) 1995,1996 KOBAYASHI Shuhei ;;; -;;; Author: KOBAYASHI Shuhei +;;; Author: KOBAYASHI Shuhei ;;; modified by MORIOKA Tomohiko -;;; Maintainer: MORIOKA Tomohiko +;;; and Neal Becker +;;; Maintainer: KOBAYASHI Shuhei ;;; Created: 1995/11/27 -;;; Version: $Id: tm-mail.el,v 1.1 1995/12/03 13:40:45 morioka Exp $ +;;; Version: $Id: tm-mail.el,v 6.0 1996/04/16 18:24:02 morioka Exp $ ;;; Keywords: mail, MIME, multimedia ;;; ;;; This file is part of tm (Tools for MIME). @@ -25,6 +26,10 @@ ;;; You should have received a copy of the GNU General Public License ;;; along with This program. If not, write to the Free Software ;;; Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; +;;; Code: + +(require 'tm-edit) (defun tm-mail/insert-message (&optional message) (interactive) @@ -56,8 +61,29 @@ )) )) +(defvar tm-mail/use-xemacs-popup-menu running-xemacs) + +(if (and running-xemacs tm-mail/use-xemacs-popup-menu) + (cond + ((string-match "19.14" emacs-version) + (setq mail-menubar-menu + (append mail-menubar-menu + (list "---" + mime-editor/popup-menu-for-xemacs))) + ) + (t + (setq mail-mode-menu + (append mail-mode-menu + (list "---" + mime-editor/popup-menu-for-xemacs))) + ) + ) + ) + ;;; @ end ;;; (provide 'tm-mail) + +;;; tm-mail.el ends here