branch: externals/auctex
commit 787279682d44b345363b26fa7bc878266353789f
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
* tex-info.el (TeX-texinfo-mode): Set `add-log-current-defun-function'
locally.
---
tex-info.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tex-info.el b/tex-info.el
index b1fd236..f7da017 100644
--- a/tex-info.el
+++ b/tex-info.el
@@ -702,8 +702,8 @@ value of `Texinfo-mode-hook'."
(when (and (boundp 'add-log-current-defun-function)
(fboundp 'texinfo-current-defun-name))
- (setq add-log-current-defun-function
- #'texinfo-current-defun-name))
+ (set (make-local-variable 'add-log-current-defun-function)
+ #'texinfo-current-defun-name))
(TeX-add-symbols
'("acronym" "Acronym")