--- latex.el-old 2012-12-26 12:41:44.000000000 +0100 +++ latex.el 2012-12-26 12:42:25.000000000 +0100 @@ -1900,6 +1900,13 @@ nil t) optional)) +(defcustom LaTeX-pagestyle-list + '(("plain") ("empty") ("headings") ("myheadings")) + "A list of available pagestyles." + :group 'LaTeX + :type '(repeat (list (string)))) +(make-variable-buffer-local 'LaTeX-pagestyle-list) + (defun TeX-arg-pagestyle (optional &optional prompt) "Prompt for a LaTeX pagestyle with completion. If OPTIONAL is non-nil, insert the resulting value as an optional @@ -1907,7 +1914,7 @@ string." (TeX-argument-insert (completing-read (TeX-argument-prompt optional prompt "Pagestyle") - '(("plain") ("empty") ("headings") ("myheadings"))) + LaTeX-pagestyle-list) optional)) (defcustom LaTeX-default-verb-delimiter ?|