Arash Esbati <esb...@gmx.de> writes: > Thanks for your response. I saw your patch in git and may I suggest > to extend it to: > > ;; Ditto for environments with optional args > (mapc (lambda (entry) > (add-to-list 'LaTeX-auto-environment > (list (nth 0 entry) 'LaTeX-env-args (vector "argument") > (1- (string-to-number (nth 1 entry)))))) > LaTeX-auto-env-args-with-opt) > > The definition above then results in > > ("colorenv" LaTeX-env-args ["argument"] 1) > > in (LaTeX-environment-list) and AUCTeX asks for the optional argument > while inserting the environment.
Committed. Bye, Tassilo _______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel