[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa 84dfb76 13/51: Do not use add-to-list for let-bound variable
From: |
Tassilo Horn |
Subject: |
[elpa] elpa 84dfb76 13/51: Do not use add-to-list for let-bound variable |
Date: |
Sun, 22 May 2016 07:22:48 +0000 (UTC) |
branch: elpa
commit 84dfb7646584e81333f15027656724ce7a93369e
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
Do not use add-to-list for let-bound variable
* style/tikz.el (TeX-TikZ-find-named-points): Replace add-to-list with
`push'.
---
style/tikz.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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)
- [elpa] elpa updated (7573813 -> ebf4b8a), Tassilo Horn, 2016/05/22
- [elpa] elpa da88a3e 01/51: Dinamically put delete-selection prop to TeX-insert-dollar, Tassilo Horn, 2016/05/22
- [elpa] elpa c58162a 04/51: TikZ: Add circle command., Tassilo Horn, 2016/05/22
- [elpa] elpa 310008b 05/51: TikZ: Add the arc command., Tassilo Horn, 2016/05/22
- [elpa] elpa b66c10a 08/51: TikZ: Add parabola command., Tassilo Horn, 2016/05/22
- [elpa] elpa 84dfb76 13/51: Do not use add-to-list for let-bound variable,
Tassilo Horn <=
- [elpa] elpa de0d445 07/51: TikZ: Add optional parameter to `TeX-TikZ-single-macro-arg'., Tassilo Horn, 2016/05/22
- [elpa] elpa 44e654b 22/51: Use `match-string-no-properties', Tassilo Horn, 2016/05/22
- [elpa] elpa 36b6051 12/51: Compatibility for XEmacs, Tassilo Horn, 2016/05/22
- [elpa] elpa af27d33 17/51: TikZ: Add the grid command., Tassilo Horn, 2016/05/22
- [elpa] elpa bc8d07f 27/51: Temporarily bind `TeX-insert-macro-default-style' to 'show-optional-args', Tassilo Horn, 2016/05/22
- [elpa] elpa 88fbf80 20/51: Fix in TeX sentinels, Tassilo Horn, 2016/05/22
- [elpa] elpa 693eee6 11/51: TikZ: Remove unneeded function., Tassilo Horn, 2016/05/22
- [elpa] elpa b20cd68 16/51: Fix a documentation type., Tassilo Horn, 2016/05/22
- [elpa] elpa 71349ec 23/51: Use `deactivate-input-method' if defined, Tassilo Horn, 2016/05/22
- [elpa] elpa d4d2ab5 31/51: Enable directory local variables in japanese-{latex, plain-tex}-mode, Tassilo Horn, 2016/05/22