From 78f59b3a50219f1daa2bf5c622f7baff42db20c3 Mon Sep 17 00:00:00 2001 From: morioka Date: Mon, 13 Sep 1999 11:05:53 +0000 Subject: [PATCH] (gnus-article-buffer): Deleted. (gnus-article-copy): Deleted. (gnus-original-article-buffer): Deleted. (gnus-copy-article-buffer): Deleted. (emh-message-yank-function): Deleted. (emh-yank-current-message): Deleted. --- emh-comp.el | 76 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/emh-comp.el b/emh-comp.el index 1e3692e..4c16c36 100644 --- a/emh-comp.el +++ b/emh-comp.el @@ -31,12 +31,12 @@ (require 'mime-edit) ;; Avoid byte compile warnings. -(defvar gnus-article-buffer) -(defvar gnus-article-copy) -(defvar gnus-original-article-buffer) -(eval-when-compile - (fset 'gnus-copy-article-buffer 'ignore) - ) +;; (defvar gnus-article-buffer) +;; (defvar gnus-article-copy) +;; (defvar gnus-original-article-buffer) +;; (eval-when-compile +;; (fset 'gnus-copy-article-buffer 'ignore) +;; ) ;;; @ variable @@ -48,7 +48,7 @@ Default is \"forwcomps\". If not a complete path name, the file is searched for first in the user's MH directory, then in the system MH lib directory.") -(defvar emh-message-yank-function 'mh-yank-cur-msg) +;; (defvar emh-message-yank-function 'mh-yank-cur-msg) ;;; @ for tm-edit @@ -488,37 +488,37 @@ yanked message will be deleted." (insert "\n")))) (error "There is no current message"))) -(defun emh-yank-current-message () - "Insert the current message into the draft buffer. -It uses variable `emh-message-yank-function' -to select message yanking function." - (interactive) - (let ((mh-sent-from-folder mh-sent-from-folder) - (mh-sent-from-msg mh-sent-from-msg)) - (if (and (not (stringp mh-sent-from-folder)) - (boundp 'gnus-article-buffer) - (get-buffer gnus-article-buffer) - (bufferp mh-sent-from-folder) - ) ; might be called from GNUS - (if (boundp 'gnus-article-copy) ; might be sgnus - (save-excursion - (gnus-copy-article-buffer) - (setq mh-sent-from-folder gnus-article-copy) - (set-buffer mh-sent-from-folder) - (setq mh-show-buffer gnus-article-copy) - ) - (save-excursion - (setq mh-sent-from-folder gnus-article-buffer) - (set-buffer gnus-article-buffer) - (setq mh-show-buffer (current-buffer)) - ))) - (funcall emh-message-yank-function) - )) - -(substitute-key-definition - 'mh-yank-cur-msg 'emh-yank-current-message mh-letter-mode-map) -(substitute-key-definition - 'mh-insert-letter 'emh-insert-letter mh-letter-mode-map) +;; (defun emh-yank-current-message () +;; "Insert the current message into the draft buffer. +;; It uses variable `emh-message-yank-function' +;; to select message yanking function." +;; (interactive) +;; (let ((mh-sent-from-folder mh-sent-from-folder) +;; (mh-sent-from-msg mh-sent-from-msg)) +;; (if (and (not (stringp mh-sent-from-folder)) +;; (boundp 'gnus-article-buffer) +;; (get-buffer gnus-article-buffer) +;; (bufferp mh-sent-from-folder) +;; ) ; might be called from GNUS +;; (if (boundp 'gnus-article-copy) ; might be sgnus +;; (save-excursion +;; (gnus-copy-article-buffer) +;; (setq mh-sent-from-folder gnus-article-copy) +;; (set-buffer mh-sent-from-folder) +;; (setq mh-show-buffer gnus-article-copy) +;; ) +;; (save-excursion +;; (setq mh-sent-from-folder gnus-article-buffer) +;; (set-buffer gnus-article-buffer) +;; (setq mh-show-buffer (current-buffer)) +;; ))) +;; (funcall emh-message-yank-function) +;; )) + +;; (substitute-key-definition +;; 'mh-yank-cur-msg 'emh-yank-current-message mh-letter-mode-map) +;; (substitute-key-definition +;; 'mh-insert-letter 'emh-insert-letter mh-letter-mode-map) ;;; @ end -- 1.7.10.4