~ubuntu-branches/ubuntu/karmic/emacs-snapshot/karmic

« back to all changes in this revision

Viewing changes to lisp/mail/rmailsum.el

  • Committer: Bazaar Package Importer
  • Author(s): Romain Francoise
  • Date: 2007-07-01 18:41:19 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20070701184119-1n27qhw9b1ee633k
Tags: 1:20070701-1
New snapshot (from the EMACS_22_BASE branch).

Show diffs side-by-side

added added

removed removed

Lines of Context:
854
854
                      (set-buffer rmail-buffer)
855
855
                      (rmail-show-message msg-num t))))))
856
856
        (rmail-summary-update-highlight nil)))))
 
857
 
 
858
(defun rmail-summary-save-buffer ()
 
859
  "Save the buffer associated with this RMAIL summary."
 
860
  (interactive)
 
861
  (save-window-excursion
 
862
    (save-excursion
 
863
      (switch-to-buffer rmail-buffer)
 
864
      (save-buffer))))
 
865
 
857
866
 
858
867
(if rmail-summary-mode-map
859
868
    nil
923
932
    'rmail-summary-sort-by-lines)
924
933
  (define-key rmail-summary-mode-map "\C-c\C-s\C-k"
925
934
    'rmail-summary-sort-by-labels)
 
935
  (define-key rmail-summary-mode-map "\C-x\C-s" 'rmail-summary-save-buffer)
926
936
  )
927
937
 
928
938
;;; Menu bar bindings.