>From f081066fb962a26e305ac54d1b78ac5841b1acdc Mon Sep 17 00:00:00 2001 From: Arash Esbati Date: Sat, 24 Oct 2015 16:21:04 +0200 Subject: [PATCH 1/4] 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 + + * 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 * 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")))) -- 2.6.2