Fix #4209: void-function +latex/LaTeX-indent-item

This was renamed to +latex-indent-item-fn in 98826f3
This commit is contained in:
Henrik Lissner 2020-11-03 15:24:56 -05:00
parent 807f00a470
commit 4fc084e7bd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -162,8 +162,8 @@ Math faces should stay fixed by the mixed-pitch blacklist, this is mostly for
:around #'LaTeX-fill-region-as-para-do
(let ((LaTeX-indent-environment-list
(append LaTeX-indent-environment-list
'(("itemize" +latex/LaTeX-indent-item)
("enumerate" +latex/LaTeX-indent-item)))))
'(("itemize" +latex-indent-item-fn)
("enumerate" +latex-indent-item-fn)))))
(apply orig-fn args)))
(defadvice! +latex--dont-indent-itemize-and-enumerate-a (orig-fn &rest args)
:around #'LaTeX-fill-region-as-paragraph