Emacs generally comments regions well, but sometimes I wish I could change the string it prepends to lines. For example, in LaTeX, I would like to have a commented region only use a single %
per line instead of two, i.e.,
% First line of commented region
% Second line of commented region
% Third line of commented region
Instead of
%% First line of commented region
%% Second line of commented region
%% Third line of commented region
I assume one could just set some variable for latex-mode
in .emacs.el
, but I could not find the variable name. Any ideas?