[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/latex.el,v
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] Changes to auctex/latex.el,v |
Date: |
Sun, 30 Dec 2012 17:05:48 +0000 |
CVSROOT: /sources/auctex
Module name: auctex
Changes by: Tassilo Horn <tsdh> 12/12/30 17:05:47
Index: latex.el
===================================================================
RCS file: /sources/auctex/auctex/latex.el,v
retrieving revision 5.475
retrieving revision 5.476
diff -u -b -r5.475 -r5.476
--- latex.el 25 Dec 2012 18:47:56 -0000 5.475
+++ latex.el 30 Dec 2012 17:05:47 -0000 5.476
@@ -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 ?|