Mosè Giordano <[email protected]> writes: Hi Mosè,
> I'm sending a patch defining a new customizable variable (whose > default value is `user-full-name') to be used as initial input to > `\author' macro. Any comments? That's a good idea. One comment below. > Some minutes ago I've documented some missing features in > `doc/auctex.texi', I hope it's OK. Sure. Feel free to commit docfixes and simple bugfixes without discussion. > +(defun LaTeX-arg-author (optional) > + "Prompt for author name. > +Insert the given value as a TeX macro argument. If OPTIONAL is > +non-nil, insert it as an optional argument. Use > +`LaTeX-default-author' as initial input." > + (let ((author (if LaTeX-default-author > + (read-string "Author(s): " (eval LaTeX-default-author)) Why the `eval'? Just LaTeX-default-author will also do. Bye, Tassilo _______________________________________________ auctex-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex-devel
