branch: externals/auctex commit ee00f56d8fed718d6d02b8a5a2b048e65e462c74 Author: Ikumi Keita <ik...@ikumi.que.jp> Commit: Ikumi Keita <ik...@ikumi.que.jp>
Use proper name rather than obsolete alias * latex.el (LaTeX-insert-environment): Use `LaTeX-after-insert-env-hook' instead of `LaTeX-after-insert-env-hooks'. --- latex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latex.el b/latex.el index ba9e4a4..3639bf6 100644 --- a/latex.el +++ b/latex.el @@ -831,7 +831,7 @@ environment just inserted, the buffer position just before (concat TeX-esc "end" TeX-grop environment TeX-grcl)) (match-beginning 0))) - (run-hook-with-args 'LaTeX-after-insert-env-hooks + (run-hook-with-args 'LaTeX-after-insert-env-hook environment env-start env-end))) (defun LaTeX-environment-name-regexp ()