changeset 101340:f0e145fc691b

(pmail-cease-edit, pmail-edit-mode): Use pmail-buffer-swapped.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 22 Jan 2009 04:50:27 +0000
parents c837fea020fb
children 235db5e6b83d
files lisp/mail/pmailedit.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/pmailedit.el	Thu Jan 22 04:49:41 2009 +0000
+++ b/lisp/mail/pmailedit.el	Thu Jan 22 04:50:27 2009 +0000
@@ -65,7 +65,7 @@
       (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 @@
 	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)