# [texhax] LaTeX-paragraph-commands customization

Sun Oct 12 22:31:59 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.

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

Oleg
```