Arash Esbati <[email protected]> writes:

> This can be achieved with this change:
>
> diff --git a/font-latex.el b/font-latex.el
> index ffba35cf..054e134c 100644
> --- a/font-latex.el
> +++ b/font-latex.el
> @@ -1284,7 +1284,9 @@ have changed."
>  (defvar font-latex-syntax-alist
>    ;; Use word syntax for @ because we use \> for matching macros and
>    ;; we don't want \foo@bar to be found if we search for \foo.
> -  '((?\( . ".") (?\) . ".") (?@ . "w"))
> +  '((?\( . ".") (?\) . ".") (?@ . "w")
> +    (?0 . ".") (?1 . ".") (?2 . ".") (?3 . ".") (?4 . ".")
> +    (?5 . ".") (?6 . ".") (?7 . ".") (?8 . ".") (?9 . "."))
>    "List of specifiers for the syntax alist of `font-lock-defaults'.")
>
>  (defun font-latex-add-to-syntax-alist (list)
>
> The patch changes the syntax of all numbers in `font-latex-syntax-alist'
> to Punctuation so they are not matched by \>.  The tests we have pass
> after this change.
>
> Any comments?

No comments, so I installed the proposed change, closing.

Best, Arash



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to