[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/simple.el,v
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/simple.el,v |
Date: |
Tue, 20 Mar 2007 16:23:47 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Richard M. Stallman <rms> 07/03/20 16:23:47
Index: simple.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/simple.el,v
retrieving revision 1.851
retrieving revision 1.852
diff -u -b -r1.851 -r1.852
--- simple.el 19 Mar 2007 18:28:31 -0000 1.851
+++ simple.el 20 Mar 2007 16:23:47 -0000 1.852
@@ -4726,9 +4726,16 @@
Each action has the form (FUNCTION . ARGS)."
(interactive
(list nil nil nil current-prefix-arg))
- (let ((function (get mail-user-agent 'composefunc)))
+ (let ((function (get mail-user-agent 'composefunc))
+ result-buffer)
+ (if switch-function
+ (save-window-excursion
+ (prog1
(funcall function to subject other-headers continue
- switch-function yank-action send-actions)))
+ nil yank-action send-actions)
+ (funcall switch-function (current-buffer))))
+ (funcall function to subject other-headers continue
+ nil yank-action send-actions))))
(defun compose-mail-other-window (&optional to subject other-headers continue
yank-action send-actions)
@@ -5165,7 +5172,7 @@
(when window
(select-window window)
(goto-char (point-min))
- (search-forward "\n\n")
+ (search-forward "\n\n" nil t)
(forward-line 1))))
;;; Support keyboard commands to turn on various modifiers.
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Richard M. Stallman, 2007/03/04
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Stefan Monnier, 2007/03/05
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Chong Yidong, 2007/03/08
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Chong Yidong, 2007/03/17
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Chong Yidong, 2007/03/19
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v,
Richard M. Stallman <=
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Chong Yidong, 2007/03/28
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Juanma Barranquero, 2007/03/30