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:
parent
8ee1dc8f1f
commit
03b23302bd
1 changed files with 2 additions and 4 deletions
|
|
@ -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-*\\)\\\\\\\\")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue