[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex ba70baec6c 27/76: Fix doc strings regarding to s
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex ba70baec6c 27/76: Fix doc strings regarding to section commands |
Date: |
Fri, 13 Jan 2023 14:30:58 -0500 (EST) |
branch: externals/auctex
commit ba70baec6ca95c609e794624ca589c1de9ea02d8
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>
Fix doc strings regarding to section commands
* context.el (ConTeXt-numbered-section-hook):
(ConTeXt-unnumbered-section-hook):
Add mention about `ConTeXt-reference'.
Fix explanation of `ConTeXt-section-ref'.
Fix order of Lisp code example.
Add quote for Lisp symbols.
* latex.el (LaTeX-section-hook): Reindent.
Add quote for Lisp symbols.
---
context.el | 28 ++++++++++++++++------------
latex.el | 25 +++++++++++++++----------
2 files changed, 31 insertions(+), 22 deletions(-)
diff --git a/context.el b/context.el
index 1eeda6a9ea..d14b3646c7 100644
--- a/context.el
+++ b/context.el
@@ -395,32 +395,34 @@ The following variables are set before the hooks are run
`ConTeXt-level'.
`ConTeXt-title' - The title of the section, default to an empty
string.
+`ConTeXt-reference' - Comma separated list of reference.
`ConTeXt-done-mark' - Position of point afterwards, default nil
(meaning end).
The following standard hooks exist -
-ConTeXt-numbered-section-heading: Query the user about the name
+`ConTeXt-numbered-section-heading': Query the user about the name
of the sectioning command. Modifies `ConTeXt-level' and
`ConTeXt-name'.
-ConTeXt-section-title: Query the user about the title of the
+`ConTeXt-section-title': Query the user about the title of the
section. Modifies `ConTeXt-title'.
-ConTeXt-section-section: Insert ConTeXt section command according
+`ConTeXt-section-section': Insert ConTeXt section command according
to `ConTeXt-name', `ConTeXt-title', and `ConTeXt-reference'. If
`ConTeXt-title' is an empty string, `ConTeXt-done-mark' will be
placed at the point they should be inserted.
-ConTeXt-section-ref: Insert a reference for this section command.
+`ConTeXt-section-ref': Query the user about a reference for this
+section command. Modifies `ConTeXt-reference'.
To get a full featured `ConTeXt-section' command, insert
(setq ConTeXt-numbered-section-hook
\\='(ConTeXt-numbered-section-heading
ConTeXt-section-title
- ConTeXt-section-section
- ConTeXt-section-ref))
+ ConTeXt-section-ref
+ ConTeXt-section-section))
in your init file such as .emacs.d/init.el or .emacs."
:group 'ConTeXt-macro
@@ -447,32 +449,34 @@ The following variables are set before the hooks are run
`ConTeXt-level'.
`ConTeXt-title' - The title of the section, default to an empty
string.
+`ConTeXt-reference' - Comma separated list of reference.
`ConTeXt-done-mark' - Position of point afterwards, default nil
(meaning end).
The following standard hooks exist -
-ConTeXt-unnumbered-section-heading: Query the user about the name
+`ConTeXt-unnumbered-section-heading': Query the user about the name
of the sectioning command. Modifies `ConTeXt-level' and
`ConTeXt-name'.
-ConTeXt-section-title: Query the user about the title of the
+`ConTeXt-section-title': Query the user about the title of the
section. Modifies `ConTeXt-title'.
-ConTeXt-section-section: Insert ConTeXt section command according
+`ConTeXt-section-section': Insert ConTeXt section command according
to `ConTeXt-name', `ConTeXt-title', and `ConTeXt-reference'. If
`ConTeXt-title' is an empty string, `ConTeXt-done-mark' will be
placed at the point they should be inserted.
-ConTeXt-section-ref: Insert a reference for this section command.
+`ConTeXt-section-ref': Query the user about a reference for this
+section command. Modifies `ConTeXt-reference'.
To get a full featured `ConTeXt-section' command, insert
(setq ConTeXt-unnumbered-section-hook
\\='(ConTeXt-unnumbered-section-heading
ConTeXt-section-title
- ConTeXt-section-section
- ConTeXt-section-ref))
+ ConTeXt-section-ref
+ ConTeXt-section-section))
in your init file such as .emacs.d/init.el or .emacs."
:group 'ConTeXt-macro
diff --git a/latex.el b/latex.el
index ac900673dd..6303c3371f 100644
--- a/latex.el
+++ b/latex.el
@@ -386,30 +386,35 @@ If so, return the second element, otherwise return nil."
The following variables are set before the hooks are run
-LaTeX-level - numeric section level, see the documentation of `LaTeX-section'.
-LaTeX-name - name of the sectioning command, derived from `LaTeX-level'.
-LaTeX-title - The title of the section, default to an empty string.
-LaTeX-toc - Entry for the table of contents list, default nil.
-LaTeX-done-mark - Position of point afterwards, default nil (meaning end).
+`LaTeX-level' - numeric section level, see the documentation of
+ `LaTeX-section'.
+`LaTeX-name' - name of the sectioning command, derived from
+ `LaTeX-level'.
+`LaTeX-title' - The title of the section, default to an empty
+ string.
+`LaTeX-toc' - Entry for the table of contents list, default
+ nil.
+`LaTeX-done-mark' - Position of point afterwards, default nil
+ (meaning end).
The following standard hooks exist -
-LaTeX-section-heading: Query the user about the name of the
+`LaTeX-section-heading': Query the user about the name of the
sectioning command. Modifies `LaTeX-level' and `LaTeX-name'.
-LaTeX-section-title: Query the user about the title of the
+`LaTeX-section-title': Query the user about the title of the
section. Modifies `LaTeX-title'.
-LaTeX-section-toc: Query the user for the toc entry. Modifies
+`LaTeX-section-toc': Query the user for the toc entry. Modifies
`LaTeX-toc'.
-LaTeX-section-section: Insert LaTeX section command according to
+`LaTeX-section-section': Insert LaTeX section command according to
`LaTeX-name', `LaTeX-title', and `LaTeX-toc'. If `LaTeX-toc' is
nil, no toc entry is inserted. If `LaTeX-toc' or `LaTeX-title'
are empty strings, `LaTeX-done-mark' will be placed at the point
they should be inserted.
-LaTeX-section-label: Insert a label after the section command.
+`LaTeX-section-label': Insert a label after the section command.
Controled by the variable `LaTeX-section-label'.
To get a full featured `LaTeX-section' command, insert
- [elpa] externals/auctex 33bb54bb9e 38/76: Simplify implementation of style/geometry.el, (continued)
- [elpa] externals/auctex 33bb54bb9e 38/76: Simplify implementation of style/geometry.el, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 5c67eb2dfd 07/76: Simplify implementation of style/babel.el, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex e97fb94f4e 62/76: Pacify compiler warning, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 22336f15bd 52/76: Simplify implementation of style/mathtools.el, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex bf66b302a4 61/76: Improve the previous commit slightly, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 5484b57bc4 31/76: Don't rely on the value of `LaTeX-current-environment', Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 1def8bd570 39/76: ; * style/graphics.el ("graphics"): Remove unnecessary `function'., Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 0cea7e107a 21/76: Simplify implementation of style/cleveref.el, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 6bdb392dfe 01/76: ; * style/theorem.el ("theorem"): Fix last change., Tassilo Horn, 2023/01/13
- [elpa] externals/auctex eb7b8d4de4 44/76: * style/listings.el ("listings"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/01/13
- [elpa] externals/auctex ba70baec6c 27/76: Fix doc strings regarding to section commands,
Tassilo Horn <=
- [elpa] externals/auctex 83622003aa 46/76: * style/enumitem.el ("enumitem"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 7f9e7ec8a1 05/76: * style/array.el ("array"): Replace `TeX-arg-eval' with a closure., Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 8984821716 74/76: ; * style/natbib.el ("natbib"): Fontify \citetext., Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 54c82bd093 67/76: New style file physics.el, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 8941bd640f 33/76: * style/fontspec.el ("fontspec"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 30bca31f77 71/76: ; * style/xcolor.el ("xcolor"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/01/13
- [elpa] externals/auctex a57e627284 59/76: Improve consistency between similar functions, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 982b20571c 48/76: * style/ltxdoc.el ("ltxdoc"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/01/13
- [elpa] externals/auctex 46c1a5a592 63/76: Add filename as a prefix to catchfilebetweentags counter, Tassilo Horn, 2023/01/13
- [elpa] externals/auctex e4ceb88bb7 14/76: Bind a value to `LaTeX-current-environment' locally, Tassilo Horn, 2023/01/13