From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diogo F. S. Ramos Subject: [PATCH] org-export-format-drawer-function docstring Date: Sat, 24 Apr 2010 10:05:36 -0300 (BRT) Message-ID: <20100424.100536.663621110448237441.diogofsr@gmail.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Sat_Apr_24_10_05_36_2010_783)--" Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5f3H-0006IQ-LP for emacs-orgmode@gnu.org; Sat, 24 Apr 2010 09:05:43 -0400 Received: from [140.186.70.92] (port=52804 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5f3G-0006HD-9Z for emacs-orgmode@gnu.org; Sat, 24 Apr 2010 09:05:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5f3F-0005Dv-3I for emacs-orgmode@gnu.org; Sat, 24 Apr 2010 09:05:42 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:61013) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5f3E-0005Dh-W8 for emacs-orgmode@gnu.org; Sat, 24 Apr 2010 09:05:41 -0400 Received: by gwj15 with SMTP id 15so3778611gwj.0 for ; Sat, 24 Apr 2010 06:05:40 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org ----Next_Part(Sat_Apr_24_10_05_36_2010_783)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I would like to suggest a little change in the documentation. The presented order of the parameters in the description of `org-export-format-drawer-function' gives the false impression that that is the order which the user function needs to list its parameters. The right order -- at least using the development version -- would be `name content backend'. -- Diogo F. S. Ramos ----Next_Part(Sat_Apr_24_10_05_36_2010_783)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="file.patch" diff --git a/org-configs/org-hooks.org b/org-configs/org-hooks.org index 50a5516..1922d09 100644 --- a/org-configs/org-hooks.org +++ b/org-configs/org-hooks.org @@ -711,9 +711,9 @@ Defined in: /org-exp.el/ #+begin_example Function to be called to format the contents of a drawer. The function must accept three parameters: - BACKEND one of the symbols html, docbook, latex, ascii, xoxo NAME the drawer name, like \"PROPERTIES\" CONTENT the content of the drawer. + BACKEND one of the symbols html, docbook, latex, ascii, xoxo The function should return the text to be inserted into the buffer. If this is nil, `org-export-format-drawer' is used as a default. #+end_example ----Next_Part(Sat_Apr_24_10_05_36_2010_783)-- Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ----Next_Part(Sat_Apr_24_10_05_36_2010_783)----