branch: externals/auctex commit 7c120b044969d3496b11aa5f0ae10606dae01f91 Author: Tassilo Horn <t...@gnu.org> Commit: Tassilo Horn <t...@gnu.org>
Improve TeX-parse-macro docstring * tex.el (TeX-parse-macro): Improve docstring. --- ChangeLog | 4 ++++ tex.el | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index bbceee7..d1eb41b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-04-25 Tassilo Horn <t...@gnu.org> + + * tex.el (TeX-parse-macro): Improve docstring. + 2015-04-19 Tassilo Horn <t...@gnu.org> * tex.el (TeX-clean): Also regexp-quote TeX-region-file. diff --git a/tex.el b/tex.el index 8447d6c..680c4a1 100644 --- a/tex.el +++ b/tex.el @@ -3025,10 +3025,9 @@ Space will complete and exit." First argument SYMBOL is the name of the macro. -If called with no additional arguments, insert macro with point -inside braces. Otherwise, each argument of this function should -match an argument to the TeX macro. What is done depend on the -type of ARGS: +If ARGS is nil, insert macro with point inside braces. +Otherwise, each element in ARGS should match an argument to the +TeX macro. What is done depend on the type of the element: string: Use the string as a prompt to prompt for the argument.