branch: externals/auctex commit ddd78945c0c82b4601e55b0bea100d095106403b Author: Arash Esbati <ar...@gnu.org> Commit: Arash Esbati <ar...@gnu.org>
; 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\)\*?") _______________________________________________ auctex-diffs mailing list auctex-di...@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-diffs