Igor,

> I'm not aware of such a function, but you could do something like that:
> 
> --8<---------------cut here---------------start------------->8---
> (defun Tex-comment-line ()
>   (interactive)
>   (beginning-of-line)
>   (let ((beg (point)))
>       (end-of-line)
>       (TeX-comment-or-uncomment-region beg (point)))
> ) 
> --8<---------------cut here---------------end--------------->8---
> 
> and bind it to a key. 

thank you very much for the snippet, it works fine, exactly what I want to do!!!
Simple and effective :-)


Regards
Thorsten

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to