auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] [elpa] externals/auctex 7872796 15/80: * tex-info.el (TeX


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 7872796 15/80: * tex-info.el (TeX-texinfo-mode): Set `add-log-current-defun-function' locally.
Date: Wed, 16 Oct 2019 11:07:08 -0400 (EDT)

branch: externals/auctex
commit 787279682d44b345363b26fa7bc878266353789f
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>

    * 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]