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  8a36595fb116cd3c6e3f429c9be2101b211c49af (commit)
      from  fcaef6bab89e6a629d60f1b43038a2433e34fbd5 (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 8a36595fb116cd3c6e3f429c9be2101b211c49af
Author: Arash Esbati <[email protected]>
Date:   Fri Apr 5 22:16:04 2019 +0200

    Fix handling of function entries in `TeX-complete-list'
    
    * tex.el (TeX-complete-symbol): Check if the fourth argument of
    entry in `TeX-complete-list' is a list and eval it.  (Bug#35074)

diff --git a/tex.el b/tex.el
index 3c3f176..6cf2e48 100644
--- a/tex.el
+++ b/tex.el
@@ -3109,7 +3109,11 @@ Or alternatively:
     (when entry
       (if (numberp (nth 1 entry))
          (let* ((sub (nth 1 entry))
-                (close (nth 3 entry))
+                (close (if (and (nth 3 entry)
+                                 (listp (nth 3 entry))
+                                 (symbolp (car (nth 3 entry))))
+                            (eval (nth 3 entry))
+                          (nth 3 entry)))
                 (begin (match-beginning sub))
                 (end (match-end sub))
                 (pattern (TeX-match-buffer 0))

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

Summary of changes:
 tex.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GNU AUCTeX

_______________________________________________
auctex-diffs mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to