# [texhax] LaTeX-paragraph-commands customization

Rodolfo Medina rodolfo.medina at gmail.com
Mon Oct 13 00:41:35 CEST 2008

```On Sun, Oct 12, 2008 at 09:15:41PM +0100, Rodolfo Medina wrote:

>> I wish to customize th LaTeX-paragraph-commands variable so to include a
>> `\subparagraph' command in it, but it seems that I don't manage to do that.

Oleg Katsitadze <olegkat at gmail.com> writes:

> I have this in my .emacs:
>
> (custom-set-variables
>   ;; custom-set-variables was added by Custom.
>   ;; If you edit it by hand, you could mess it up, so be careful.
>   ;; Your init file should contain only one such instance.
>   ;; If there is more than one, they won't work right.
>  '(LaTeX-paragraph-commands (quote ("orderedlist" "unorderedlist" "li"))))
>
> This was obviously created using customize, but this should work too:
>
>   (setq LaTeX-paragraph-commands '("orderedlist" "unorderedlist" "li"))
>
> However, it seems there's a related bug in AUCTeX:
>
>   http://www.nabble.com/11.85--LaTeX-paragraph-commands-not-evaluated-td18496575.html

Does the above setting work in your case, despite of the bug?  Or do you have
an Emacs version where the bug has been fixed?

bye
Rodolfo

```