branch: elpa
commit 0f8baf6ab7bd330096b0a9533ca8c23f714c9115
Author: Matthew Leach <[email protected]>
Commit: Matthew Leach <[email protected]>
TikZ: Ignore case when prompting for argument types.
* style/tikz.el (TeX-TikZ-get-arg-type): Let-bind
`completion-ignore-case' to t when prompting the user.
---
style/tikz.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/style/tikz.el b/style/tikz.el
index 8447b7b..9e2ff97 100644
--- a/style/tikz.el
+++ b/style/tikz.el
@@ -98,7 +98,8 @@ string \"node[OPTIONS](NAME){TEXT}\"."
"Prompt the user for an argument type.
TYPES is a list of possible types that the user can specify. If
PROMPT is non-nil use that prompt instead."
- (let ((prompt (if prompt
+ (let ((completion-ignore-case t)
+ (prompt (if prompt
prompt
"Next argument type (RET to finish): ")))
(completing-read prompt types nil t)))