auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. a7c67570b35ef7fe7ab10


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. a7c67570b35ef7fe7ab1052d0fd27e8090b38a3b
Date: Sun, 29 May 2016 15:43:09 +0000 (UTC)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  a7c67570b35ef7fe7ab1052d0fd27e8090b38a3b (commit)
      from  ec9fa39752833e45113110ed83740505ae7080ea (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a7c67570b35ef7fe7ab1052d0fd27e8090b38a3b
Author: Tassilo Horn <address@hidden>
Date:   Sun May 29 17:41:06 2016 +0200

    Don't use non-existing custom-buffer-done-function
    
    * tex-wizard.el (TeX-wizard): Use `kill-buffer-hook' and
    `custom-buffer-done-kill' instead of `custom-buffer-done-function' which
    has been removed from Emacs a long time ago.

diff --git a/tex-wizard.el b/tex-wizard.el
index f5badae..b51c03a 100644
--- a/tex-wizard.el
+++ b/tex-wizard.el
@@ -1,6 +1,6 @@
 ;;; tex-wizard.el --- Check the TeX configuration
 
-;; Copyright (C) 2003  Free Software Foundation, Inc.
+;; Copyright (C) 2003, 2006, 2016 Free Software Foundation, Inc.
 
 ;; Author: David Kastrup <address@hidden>
 ;; Keywords: tex, wp, convenience
@@ -90,7 +90,7 @@ and bibliographics references.\n")
               (boundp 'LaTeX-mode-hook)
               (memq 'turn-on-reftex LaTeX-mode-hook))
       (if (and (boundp 'reftex-plug-into-AUCTeX)
-                  reftex-plug-into-AUCTeX)
+              reftex-plug-into-AUCTeX)
          (insert-before-markers
           "RefTeX appears to be configured for use with AUCTeX.\n")
        (require 'reftex)
@@ -99,8 +99,8 @@ 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-function)
-            (lambda (buff) (kill-buffer buff) (exit-recursive-edit)))
+       (set (make-local-variable 'custom-buffer-done-kill) t)
+       (add-hook 'kill-buffer-hook #'exit-recursive-edit nil t)
        (recursive-edit)
        (select-window wizwin)
        (switch-to-buffer wizbuf))))

-----------------------------------------------------------------------

Summary of changes:
 tex-wizard.el |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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