* gnus-msg.el (gnus-summary-reply): Do not give a `switch-to-buffer'
authorLars Magne Ingebrigtsen <larsi@stories.(none)>
Fri, 6 Jan 2012 03:19:03 +0000 (04:19 +0100)
committerLars Magne Ingebrigtsen <larsi@stories.(none)>
Fri, 6 Jan 2012 03:19:03 +0000 (04:19 +0100)
argument to `message-reply'.  This broke `special-display-*' frame
pop-uping (bug#10238).

If somebody wants to have both frame-popups for "*...*", but leave the
Message buffers alone:

With special-display-regexps, I think something
like the code below should do it:

   (setq special-display-regexps
         '(("^\\*unsent.*\\*$" switch-to-buffer)
            "^\\*.*\\*$"))

lisp/ChangeLog
lisp/gnus-msg.el

index 30fb520..ba6f4f2 100644 (file)
@@ -1,3 +1,9 @@
+2012-01-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-msg.el (gnus-summary-reply): Do not give a `switch-to-buffer'
+       argument to `message-reply'.  This broke `special-display-*' frame
+       pop-uping (bug#10238).
+
 2012-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * starttls.el (starttls-available-p): Return nil on Windows/MS-DOS
index 0498e2d..c825c42 100644 (file)
@@ -1129,7 +1129,7 @@ If VERY-WIDE, make a very wide reply."
            (insert headers))
          (goto-char (point-max)))
        (mml-quote-region (point) (point-max))
-       (message-reply nil wide 'switch-to-buffer)
+       (message-reply nil wide)
        (when yank
          (gnus-inews-yank-articles yank))
        (gnus-summary-handle-replysign)))))