Revert "message.el (message-bury): Make `buffer' optional;"
authorTassilo Horn <tsdh@gnu.org>
Mon, 6 May 2013 12:54:14 +0000 (14:54 +0200)
committerTassilo Horn <tsdh@gnu.org>
Mon, 6 May 2013 12:54:14 +0000 (14:54 +0200)
This reverts commit 1d2c4fbb9bdc1078d1727b27139e4df5ba7cb2cb.

lisp/ChangeLog
lisp/message.el

index 5f9d5fe..e73237c 100644 (file)
@@ -2,12 +2,6 @@
 
        * mml2015.el (mml2015-epg-sign): Add name="signature.asc".  (Bug#13465)
 
-2013-05-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
-
-       * message.el (message-bury): Make `buffer' optional.
-       (message-send-and-exit): Don't pass `buf' so as to hide the buffer
-       (bug#14085).
-
 2013-05-04  Andrew Cohen  <cohen@bu.edu>
 
        * gnus-sum.el (gnus-read-header): Ensure groups are prefixed when
index fbc7868..d87879b 100644 (file)
@@ -4091,7 +4091,7 @@ It should typically alter the sending method in some way or other."
        (actions message-exit-actions))
     (when (and (message-send arg)
               (buffer-name buf))
-      (message-bury)
+      (message-bury buf)
       (if message-kill-buffer-on-exit
          (kill-buffer buf))
       (message-do-actions actions)
@@ -4139,7 +4139,7 @@ Instead, just auto-save the buffer and then bury it."
          (message-disassociate-draft)))
       (message-do-actions actions))))
 
-(defun message-bury (&optional buffer)
+(defun message-bury (buffer)
   "Bury this mail BUFFER."
   (if message-return-action
       (progn