(message-goto-body): called-interactively-p needs a parameter, so use `any'.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Wed, 24 Nov 2010 22:07:52 +0000 (23:07 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Wed, 24 Nov 2010 22:07:52 +0000 (23:07 +0100)
lisp/ChangeLog
lisp/message.el

index 80d2244..8867afe 100644 (file)
@@ -1,5 +1,8 @@
 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * message.el (message-goto-body): called-interactively-p needs a
+       parameter, so use `any'.
+
        * nnimap.el (nnimap-request-move-article): It's no longer necessary to
        clear marks before moving, since they're synced from the Gnus side
        first.
index 25b5ae4..1134b68 100644 (file)
@@ -3094,7 +3094,7 @@ M-RET    `message-newline-and-reformat' (break the line and reformat)."
 (defun message-goto-body ()
   "Move point to the beginning of the message body."
   (interactive)
-  (when (and (called-interactively-p)
+  (when (and (called-interactively-p 'any)
             (looking-at "[ \t]*\n"))
     (expand-abbrev))
   (goto-char (point-min))