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 84dfb7646584e81333f15027656724ce7a93369e (commit) via 36b6051bcff3b6fc2e6937136a45af09c7b8b0c7 (commit) from 693eee65409717c80e10d7fbf03d3db67700da7d (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 84dfb7646584e81333f15027656724ce7a93369e Author: Mosè Giordano <m...@gnu.org> Date: Sat Apr 9 21:20:13 2016 +0200 Do not use add-to-list for let-bound variable * style/tikz.el (TeX-TikZ-find-named-points): Replace add-to-list with `push'. diff --git a/style/tikz.el b/style/tikz.el index 8b1cc3a..e468dc3 100644 --- a/style/tikz.el +++ b/style/tikz.el @@ -164,14 +164,14 @@ them as a list of strings, dropping the '()'." (let* ((env-end (save-excursion (LaTeX-find-matching-end) (point))) - (matches ())) + (matches)) ;; TODO: Handle cases where we are in a nested environment, \scope ;; for example. (save-excursion (LaTeX-find-matching-begin) (save-match-data (while (re-search-forward TeX-TikZ-point-name-regexp env-end t) - (add-to-list 'matches (match-string 1))))) + (push (match-string 1) matches)))) matches)) (defun TeX-TikZ-arg-named-point (_ignored &optional prefix) commit 36b6051bcff3b6fc2e6937136a45af09c7b8b0c7 Author: Mosè Giordano <m...@gnu.org> Date: Sat Apr 9 21:18:51 2016 +0200 Compatibility for XEmacs * style/tikz.el (TeX-TikZ-single-macro-arg): Pass `function-alist' to `TeX-TikZ-get-arg-type` because XEmacs requires an alist as argument to `completing-read'. diff --git a/style/tikz.el b/style/tikz.el index ca48735..8b1cc3a 100644 --- a/style/tikz.el +++ b/style/tikz.el @@ -109,8 +109,7 @@ then called and the value returned. PROMPT is used as the prompt for the argument type. When OPTIONAL is non-nil, add \"\" to FUNCTION-ALIST with a mapping to `identity', permitting an optional input." - (let* ((argument-type-names (mapcar 'car function-alist)) - (selected-argument-type (TeX-TikZ-get-arg-type argument-type-names prompt)) + (let* ((selected-argument-type (TeX-TikZ-get-arg-type function-alist prompt)) (fn-alist-with-optional-elm (if optional `(,@function-alist ("" identity)) function-alist)) ----------------------------------------------------------------------- Summary of changes: style/tikz.el | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) hooks/post-receive -- GNU AUCTeX
_______________________________________________ auctex-diffs mailing list auctex-di...@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-diffs