branch: externals/auctex
commit ddd78945c0c82b4601e55b0bea100d095106403b
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
; Fix last commit
* tex.el (TeX-current-defun-name): Include missing backslash in
search regexp.
---
tex.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tex.el b/tex.el
index 6c2cbb6..d79e604 100644
--- a/tex.el
+++ b/tex.el
@@ -6597,7 +6597,8 @@ Used as function for validating a variable's
`safe-local-variable' property."
;; take the standard one:
(when (re-search-backward
(if (local-variable-p 'LaTeX-section-label)
- (concat (regexp-opt
+ (concat "\\\\"
+ (regexp-opt
(remove "part" (mapcar #'car LaTeX-section-label)))
"\\*?")
"\\\\\\(sub\\)*\\(section\\|paragraph\\|chapter\\)\\*?")