I knew there was a variable somewhere. Works perfectly, thanks /Lars Madsen Institut for Matematik / Department of Mathematics Aarhus Universitet / Aarhus University Mere info: http://au.dk/daleif@imf / More information: http://au.dk/en/daleif@imf
________________________________________ From: [email protected] [[email protected]] on behalf of Tassilo Horn [[email protected]] Sent: 03 March 2015 11:41 To: [email protected] Subject: Re: [AUCTeX] out comment every line Lars Madsen <[email protected]> writes: Hi Lars, > If you run TeX-comment-region it will out comment the lines that are > not blank. How can I tell it to comment everyline even if it is blank? That's not special to AUCTeX, i.e., `TeX-comment-region' just defines the comment characters and then calls `comment-region' which does the actual commenting. For the latter, the default is to comment only non-blank lines but it can be changed using: ,----[ C-h v comment-empty-lines RET ] | comment-empty-lines is a variable defined in `newcomment.el'. | Its value is nil | | Documentation: | If nil, `comment-region' does not comment out empty lines. | If t, it always comments out empty lines. | If `eol' it only comments out empty lines if comments are | terminated by the end of line (i.e. `comment-end' is empty). | | You can customize this variable. `---- Bye, Tassilo _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
