1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

Fix tex-tabbing-separator alignment rule

* lisp/align.el (align-rules-list): Remove the check of
`latex-mode' with `eq' which doesn't work with newer AUCTeX mode
names and modes defined by user with `define-derived-mode'.
(bug#69187)
This commit is contained in:
Arash Esbati 2024-04-06 21:58:03 +02:00
parent 8ee1dc8f1f
commit 03b23302bd

View file

@ -537,10 +537,8 @@ The possible settings for `align-region-separate' are:
(regexp . ,(lambda (end reverse)
(align-match-tex-pattern "\\\\[=>]" end reverse)))
(group . (1 2))
(modes . align-tex-modes)
(repeat . t)
(run-if . ,(lambda ()
(eq major-mode 'latex-mode))))
(modes . '(latex-mode))
(repeat . t))
(tex-record-break
(regexp . "\\(\\s-*\\)\\\\\\\\")