[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex c0c9556338 30/48: Don't insert empty node name
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex c0c9556338 30/48: Don't insert empty node name |
Date: |
Fri, 18 Nov 2022 14:27:44 -0500 (EST) |
branch: externals/auctex
commit c0c955633839777848a94400a45ef97667e7a992
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>
Don't insert empty node name
* style/tikz.el (TeX-TikZ-node-arg): Treat node name as optional to
avoid the insertion of empty node name.
(TeX-TikZ-arg-options, TeX-TikZ-arg-name,TeX-TikZ-arg-label):
Fix doc strings.
---
style/tikz.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/style/tikz.el b/style/tikz.el
index eb7d92810e..a0edfd4650 100644
--- a/style/tikz.el
+++ b/style/tikz.el
@@ -112,7 +112,7 @@ Ask the user for r and theta values, and return the string
(defun TeX-TikZ-arg-options (optional)
"Prompt the user for options to a TikZ macro.
-If OPTIONAL is non-nil, always return `LaTeX-optop' and
+If OPTIONAL is nil, always return `LaTeX-optop' and
`LaTeX-optcl', even if the user doesn't provide any input."
(let ((options (TeX-read-string (TeX-argument-prompt optional nil "Options"
))))
(if optional
@@ -121,7 +121,7 @@ If OPTIONAL is non-nil, always return `LaTeX-optop' and
(defun TeX-TikZ-arg-name (optional)
"Prompt the user for a TikZ name.
-If OPTIONAL is non-nil, always return \"()\", even if the user
+If OPTIONAL is nil, always return \"()\", even if the user
doesn't provide any input."
(let ((name (TeX-read-string (TeX-argument-prompt optional nil "Name" ))))
(if optional
@@ -130,8 +130,8 @@ doesn't provide any input."
(defun TeX-TikZ-arg-label (optional)
"Prompt the user for TikZ label.
-If OPTIONAL is non-nil always return `TeX-grop' and `TeX-grcl',
-even if the user doesn't provide any input."
+If OPTIONAL is nil always return `TeX-grop' and `TeX-grcl', even
+if the user doesn't provide any input."
(let ((label (TeX-read-string (TeX-argument-prompt optional nil "Label" ))))
(if optional
(TeX-TikZ-get-opt-arg-string label TeX-grop TeX-grcl)
@@ -278,7 +278,7 @@ return \"\"."
(defun TeX-TikZ-node-arg (_ignored)
"Prompt the user for the arguments to a TikZ node macro."
(let ((options (TeX-TikZ-arg-options t))
- (name (TeX-TikZ-arg-name nil))
+ (name (TeX-TikZ-arg-name t))
(point (TeX-TikZ-single-macro-arg TeX-TikZ-point-function-map
"Node point type: "))
(label (TeX-TikZ-arg-label nil)))
- [elpa] externals/auctex updated (c569c7d486 -> 93430d7ab0), Tassilo Horn, 2022/11/18
- [elpa] externals/auctex d7e6fa0d41 05/48: Cleanup `TeX-insert-dollar', Tassilo Horn, 2022/11/18
- [elpa] externals/auctex cdf57fba58 11/48: * latex.el (TeX-arg-conditional): Declare 'indent'., Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 8f70cd5211 14/48: Simplify implementation of style/ulem.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 4eaed332ba 26/48: Add new hooks for inserting environments with arguments, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex a0ba387b2c 23/48: ; Trivial cleanups, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 8775c8355f 13/48: Replace `TeX-arg-url-urlstyle' in style/url.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex d3970b77da 09/48: ; * latex.el (LaTeX-common-initialization): Remove dupe textcircled., Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 52a7f4050f 27/48: ; * doc/auctex.texi (Adding Environments): Adjust indentation., Tassilo Horn, 2022/11/18
- [elpa] externals/auctex c0c9556338 30/48: Don't insert empty node name,
Tassilo Horn <=
- [elpa] externals/auctex e53bb19a90 37/48: ; Recognize large arguments with many lines, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 52738d11b2 39/48: Remove entry in `LaTeX-completion-function-map-alist-keyval', Tassilo Horn, 2022/11/18
- [elpa] externals/auctex d5ff42e0bd 34/48: Simplify implementation of style/enumitem.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex cb7b44227d 31/48: Improve fontification of indexing macros, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex c8d638ac9d 40/48: Use `functionp' to recognize a function, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 47f9ead1c6 44/48: Respect `TeX-exit-mark' when inserting enviroments, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 04a3138c81 45/48: Simplify implementation of style/theorem.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 487c91fddb 04/48: ; Pacify compiler warning: Unused lexical argument `ignored', Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 42150568f1 06/48: Allow user to insert "$" (bug#57626), Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 978ebea1e8 16/48: Simplify implementation of style/thmtools.el, Tassilo Horn, 2022/11/18