branch: master
commit befc4a49bb8112a09fe9b4c3694c50b1b267fd56
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
Fix style/changelog.el
* style/changelog.el (LaTeX-env-changelog): Use the function
`LaTeX-current-environment' and not the variable.
---
style/changelog.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/style/changelog.el b/style/changelog.el
index 1f7dccea..8f4ee31b 100644
--- a/style/changelog.el
+++ b/style/changelog.el
@@ -1,6 +1,6 @@
;;; changelog.el --- AUCTeX style for `changelog.sty' (v2.0.0) -*-
lexical-binding: t; -*-
-;; Copyright (C) 2019--2022 Free Software Foundation, Inc.
+;; Copyright (C) 2019--2023 Free Software Foundation, Inc.
;; Author: Arash Esbati <[email protected]>
;; Maintainer: [email protected]
@@ -83,7 +83,7 @@ OPTIONAL is ignored."
(let* ((s (save-excursion
(LaTeX-find-matching-begin)
(point)))
- (currenv LaTeX-current-environment)
+ (currenv (LaTeX-current-environment))
;; Extract the chosen sectioning command
(sec (save-excursion
(re-search-backward