From: Chong Yidong Date: Thu, 22 Jan 2009 04:50:27 +0000 (+0000) Subject: (pmail-cease-edit, pmail-edit-mode): Use pmail-buffer-swapped. X-Git-Tag: emacs-pretest-23.0.90~325 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f1f2094bb476f00d8eb085f89bee6c4c3463af69;p=emacs.git (pmail-cease-edit, pmail-edit-mode): Use pmail-buffer-swapped. --- diff --git a/lisp/mail/pmailedit.el b/lisp/mail/pmailedit.el index 85425f658b3..0529024ea5d 100644 --- a/lisp/mail/pmailedit.el +++ b/lisp/mail/pmailedit.el @@ -65,7 +65,7 @@ This functions runs the normal hook `pmail-edit-mode-hook'. (save-excursion (set-buffer pmail-summary-buffer) (pmail-summary-disable))) - (let (buffer-swapped-with) + (let (pmail-buffer-swapped) ;; Prevent change-major-mode-hook from unswapping the buffers. (delay-mode-hooks (text-mode)) (use-local-map pmail-edit-map) @@ -128,7 +128,7 @@ This functions runs the normal hook `pmail-edit-mode-hook'. headers-end) ;; Go back to Pmail mode, but carefully. (force-mode-line-update) - (let (buffer-swapped-with) + (let (pmail-buffer-swapped) (kill-all-local-variables) (pmail-mode-1) (if (boundp 'tool-bar-map)