From: Richard M. Stallman Date: Mon, 22 Dec 2008 19:58:55 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: emacs-pretest-23.0.90~910 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f487006507a6b0f048e21010f10970601611e44;p=emacs.git *** empty log message *** --- diff --git a/etc/NEWS b/etc/NEWS index eaeea4195dc..333cadecb52 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1733,6 +1733,9 @@ uses the minibuffer-local-shell-command-map for that. *** `buffer-swap-text' swaps text between two buffers. This can be useful for modes such as tar-mode, archive-mode, RMAIL. +*** New variable `buffer-swapped-with' lets the modes that use +`buffer-swap-text' arrange to save the file from the proper buffer. + +++ *** `read-color' reads a color name using the minibuffer. diff --git a/lisp/mail/ChangeLog.pmail b/lisp/mail/ChangeLog.pmail index d5b0a675e62..38187d3307e 100644 --- a/lisp/mail/ChangeLog.pmail +++ b/lisp/mail/ChangeLog.pmail @@ -1,3 +1,22 @@ +2008-12-22 Richard M Stallman + + * pmailout.el (pmail-output): Use pmail-buffers-swapped-p as function. + + * pmail.el (pmail-swap-buffers-maybe): Variable deleted. + All uses call the function instead. + + * pmail.el (pmail-save): Function deleted. + (pmail-mode-map): Don't bind C-x C-s. + (pmail-mode-1): Don't set up write-region-annotate-functions. + (pmail-write-region-annotate): Function deleted. + (pmail-change-major-mode-hook): Set buffer-swapped-with. + (pmail-use-collection-buffer): Likewise. + (pmail-show-message): Likewise. + + * pmail.el (pmail-swap-buffers-maybe): Go to pmail-buffer before + testing anything. + (pmail): Call pmail-swap-buffers-maybe only if already in Pmail mode. + 2008-12-22 Chong Yidong * pmail.el (pmail-save): New function.