emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Hole in `org-html-format-drawer-function' variable documentation [9.4.4 (9.4.4-21-g61336f-elpaplus @ /home/jmazon/.emacs.d/elpa/org-plus-contrib-20210208/)]
@ 2021-03-23 22:16 Jean-Baptiste Mazon
  2021-03-25  2:50 ` Kyle Meyer
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Baptiste Mazon @ 2021-03-23 22:16 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

The documentation for customizable variable
`org-html-format-drawer-function' currently reads as such:

------------------------------------------------------------------------
Function called to format a drawer in HTML code.

The function must accept two parameters:
NAME the drawer name, like "LOGBOOK"
CONTENTS the contents of the drawer.

The function should return the string to be exported.

For example, the variable could be set to the following function
in order to mimic default behavior:

The default value simply returns the value of CONTENTS.
------------------------------------------------------------------------

There is obviously something missing between the two last paragraphs.




Emacs : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
of 2020-10-08
Package: Org mode version 9.4.4 (9.4.4-21-g61336f-elpaplus @ 
/home/jmazon/.emacs.d/elpa/org-plus-contrib-20210208/)



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: Hole in `org-html-format-drawer-function' variable documentation [9.4.4 (9.4.4-21-g61336f-elpaplus @ /home/jmazon/.emacs.d/elpa/org-plus-contrib-20210208/)]
  2021-03-23 22:16 Bug: Hole in `org-html-format-drawer-function' variable documentation [9.4.4 (9.4.4-21-g61336f-elpaplus @ /home/jmazon/.emacs.d/elpa/org-plus-contrib-20210208/)] Jean-Baptiste Mazon
@ 2021-03-25  2:50 ` Kyle Meyer
  0 siblings, 0 replies; 2+ messages in thread
From: Kyle Meyer @ 2021-03-25  2:50 UTC (permalink / raw)
  To: Jean-Baptiste Mazon; +Cc: emacs-orgmode

Jean-Baptiste Mazon writes:

> The documentation for customizable variable
> `org-html-format-drawer-function' currently reads as such:
[...]
> For example, the variable could be set to the following function
> in order to mimic default behavior:
>
> The default value simply returns the value of CONTENTS.
> ------------------------------------------------------------------------
>
> There is obviously something missing between the two last paragraphs.

Thanks for noticing.  The example was dropped in adcebf38f (2013-11-14)
but the leading "For example ..." was left behind.  I've dropped that
now too (478929ae6).


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-25  3:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 22:16 Bug: Hole in `org-html-format-drawer-function' variable documentation [9.4.4 (9.4.4-21-g61336f-elpaplus @ /home/jmazon/.emacs.d/elpa/org-plus-contrib-20210208/)] Jean-Baptiste Mazon
2021-03-25  2:50 ` Kyle Meyer

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).