branch: externals/auctex commit b10ca711d7ecbdda8b52c2d6b5b8d22cee42074e Author: Arash Esbati <esb...@gmx.de> Commit: Tassilo Horn <t...@gnu.org>
Fix docstring. * style/caption.el (LaTeX-arg-caption-captionbox): Fix doctring. * style/subcaption.el (LaTeX-arg-subcaption-subcaption): Fix doctring. (LaTeX-arg-subcaption-subcaptionbox): ditto. --- ChangeLog | 8 ++++++++ style/caption.el | 2 +- style/subcaption.el | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3b4b629..3f7ac31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2015-10-24 Arash Esbati <esb...@gmx.de> + + * style/caption.el (LaTeX-arg-caption-captionbox): Fix doctring. + + * style/subcaption.el (LaTeX-arg-subcaption-subcaption): Fix + doctring. + (LaTeX-arg-subcaption-subcaptionbox): ditto. + 2015-10-19 Mos� Giordano <m...@gnu.org> * tex-buf.el (TeX-command): Check that AUCTeX can find a working diff --git a/style/caption.el b/style/caption.el index 4412443..4e394f0 100644 --- a/style/caption.el +++ b/style/caption.el @@ -221,7 +221,7 @@ suffix of the command." (defun LaTeX-arg-caption-captionbox (optional &optional star prompt) "Query for the arguments of `\\captionbox' incl. a label and -insert them. If STAR is t, then do not query for a `\\label' and +insert them. If STAR is non-nil, then do not query for a `\\label' and insert only a caption." (let ((caption (TeX-read-string (TeX-argument-prompt optional prompt "Caption")))) diff --git a/style/subcaption.el b/style/subcaption.el index 83b20a0..6205366 100644 --- a/style/subcaption.el +++ b/style/subcaption.el @@ -38,7 +38,7 @@ same values as \"labelformat\" from caption package.") (defun LaTeX-arg-subcaption-subcaption (optional &optional star prompt) "Query for the arguments of \\subcaption incl. a label and -insert them. If STAR is t, then do not query for the lof entry +insert them. If STAR is non-nil, then do not query for the lof entry and \\label and insert only a caption." (let ((lof (unless star (TeX-read-string @@ -56,7 +56,7 @@ and \\label and insert only a caption." (defun LaTeX-arg-subcaption-subcaptionbox (optional &optional star prompt) "Query for the arguments of \\subcaptionbox incl. a label and -insert them. If STAR is t, then do not query for a \\label and +insert them. If STAR is non-nil, then do not query for a \\label and insert only a caption." (let ((caption (TeX-read-string (TeX-argument-prompt optional prompt "Sub-caption"))))