Procházet zdrojové kódy

Footnotes: New startup keyowrd fnlocal

The fnlocal startup keyword sets `org-footnote-section' to nil.
Carsten Dominik před 16 roky
rodič
revize
d79cc1aebf
2 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 2 0
      doc/org.texi
  2. 1 0
      lisp/org.el

+ 2 - 0
doc/org.texi

@@ -8843,6 +8843,7 @@ corresponding variables are @code{org-footnote-define-inline} and
 @code{org-footnote-auto-label}.
 @cindex @code{fninline}, STARTUP keyword
 @cindex @code{fnnoinline}, STARTUP keyword
+@cindex @code{fnlocal}, STARTUP keyword
 @cindex @code{fnprompt}, STARTUP keyword
 @cindex @code{fnauto}, STARTUP keyword
 @cindex @code{fnconfirm}, STARTUP keyword
@@ -8850,6 +8851,7 @@ corresponding variables are @code{org-footnote-define-inline} and
 @example
 fninline    @r{define footnotes inline}
 fnnoinline  @r{define footnotes in separate section}
+fnlocal     @r{define footnotes near first reference, but not inline}
 fnprompt    @r{prompt for footnote labels}
 fnauto      @r{create [fn:1]-like labels automatically (default)}
 fnconfirm   @r{offer automatic label for editing or confirmation}

+ 1 - 0
lisp/org.el

@@ -2998,6 +2998,7 @@ After a match, the following groups carry important information:
     ("nologrepeat" org-log-repeat nil)
     ("fninline" org-footnote-define-inline t)
     ("nofninline" org-footnote-define-inline nil)
+    ("fnlocal" org-footnote-section nil)
     ("fnauto" org-footnote-auto-label t)
     ("fnprompt" org-footnote-auto-label nil)
     ("fnconfirm" org-footnote-auto-label confirm)