]> git.eshelyaron.com Git - emacs.git/commitdiff
(pmail-cease-edit, pmail-edit-mode): Use pmail-buffer-swapped.
authorChong Yidong <cyd@stupidchicken.com>
Thu, 22 Jan 2009 04:50:27 +0000 (04:50 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 22 Jan 2009 04:50:27 +0000 (04:50 +0000)
lisp/mail/pmailedit.el

index 85425f658b36e0c3b50c7f7c48a1fbbdf13db1b9..0529024ea5dc8320119cc23fa55e643b54dac6e0 100644 (file)
@@ -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)