Mercurial > emacs
diff lisp/mail/rmail.el @ 26455:03d8424273d3
Use new backquote syntax.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 15 Nov 1999 14:24:32 +0000 |
parents | 28fd2425218e |
children | 5df0d6bbeca6 |
line wrap: on
line diff
--- a/lisp/mail/rmail.el Mon Nov 15 14:11:30 1999 +0000 +++ b/lisp/mail/rmail.el Mon Nov 15 14:24:32 1999 +0000 @@ -465,25 +465,25 @@ ;; Perform BODY in the summary buffer ;; in such a way that its cursor is properly updated in its own window. (defmacro rmail-select-summary (&rest body) - (` (let ((total rmail-total-messages)) - (if (rmail-summary-displayed) - (let ((window (selected-window))) - (save-excursion - (unwind-protect - (progn - (pop-to-buffer rmail-summary-buffer) - ;; rmail-total-messages is a buffer-local var - ;; in the rmail buffer. - ;; This way we make it available for the body - ;; even tho the rmail buffer is not current. - (let ((rmail-total-messages total)) - (,@ body))) - (select-window window)))) - (save-excursion - (set-buffer rmail-summary-buffer) - (let ((rmail-total-messages total)) - (,@ body)))) - (rmail-maybe-display-summary)))) + `(let ((total rmail-total-messages)) + (if (rmail-summary-displayed) + (let ((window (selected-window))) + (save-excursion + (unwind-protect + (progn + (pop-to-buffer rmail-summary-buffer) + ;; rmail-total-messages is a buffer-local var + ;; in the rmail buffer. + ;; This way we make it available for the body + ;; even tho the rmail buffer is not current. + (let ((rmail-total-messages total)) + ,@body)) + (select-window window)))) + (save-excursion + (set-buffer rmail-summary-buffer) + (let ((rmail-total-messages total)) + ,@body))) + (rmail-maybe-display-summary))) ;;;; *** Rmail Mode ***