monnier pushed a commit to branch externals/auctex
in repository elpa.
commit c093db7e2dcf23d51368678fb598decf3dd87ed2
Author: Tassilo Horn <[email protected]>
Date: Wed Jan 22 16:28:49 2014 +0100
Declare LaTeX-shortvrb-chars as safe local variable.
(LaTeX-shortvrb-chars): Declare it as safe local variable.
---
ChangeLog | 1 +
style/shortvrb.el | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 215f37e..74813db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
shortvrb does not make | a shortvrb char. One needs to define it
using \MakeShortVrb{\|}. Extend the docstring so that it tells
that one should usually set this variable only buffer-locally.
+ (LaTeX-shortvrb-chars): Declare it as safe local variable.
* font-latex.el (font-latex-add-to-syntax-alist): Call
`font-latex-setup' to make syntactic font-lock changes effective.
diff --git a/style/shortvrb.el b/style/shortvrb.el
index 8b4570a..8103a37 100644
--- a/style/shortvrb.el
+++ b/style/shortvrb.el
@@ -62,6 +62,7 @@ your document actually defines shortvrb chars using
\\MakeShortVrb."
:group 'LaTeX-style
:type '(repeat character))
+(put 'LaTeX-shortvrb-chars 'safe-local-variable 'listp)
(TeX-add-style-hook
"shortvrb"