emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RMAIL summary and C-x C-s


From: Alfred M. Szmidt
Subject: RMAIL summary and C-x C-s
Date: Sun, 3 Jun 2007 19:20:00 +0200 (CEST)

This is really just a wish list item, often when I view the summary in
RMAIL, I find myself wanting to save the buffer without changing
windows.  This makes it so you can save the associated buffer by just
hitting C-x C-s.

(defun rmail-summary-save-buffer ()
  "Save the buffer associated with this RMAIL summary."
  (interactive)
  (save-window-excursion
    (save-excursion
      (switch-to-buffer rmail-buffer)
      (save-buffer))))

(define-key rmail-summary-mode-map "\C-x\C-s" 'rmail-summary-save-buffer)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]