branch: master
commit 581a66104c04c78fa185cc1059f770b2e68a9ab0
Author: Arash Esbati <ar...@gnu.org>
Commit: Arash Esbati <ar...@gnu.org>

    Prefer `setq-local' in tex-wizard.el
    
    * tex-wizard.el (TeX-wizard): Prefer `setq-local' over `set' and
    `make-local-variable' combination.
---
 tex-wizard.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tex-wizard.el b/tex-wizard.el
index d0d0c24d..bb6e3080 100644
--- a/tex-wizard.el
+++ b/tex-wizard.el
@@ -100,7 +100,7 @@ It appears that RefTeX is not configured to cooperate with
 AUCTeX.  Please configure it using the menus, save for future
 sessions, then press the finish button.")
         (customize-variable-other-window 'reftex-plug-into-AUCTeX)
-        (set (make-local-variable 'custom-buffer-done-kill) t)
+        (setq-local custom-buffer-done-kill t)
         (add-hook 'kill-buffer-hook #'exit-recursive-edit nil t)
         (recursive-edit)
         (select-window wizwin)

Reply via email to