emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] elpa 0f8baf6 16/23: TikZ: Ignore case when prompting for argument


From: Tassilo Horn
Subject: [elpa] elpa 0f8baf6 16/23: TikZ: Ignore case when prompting for argument types.
Date: Wed, 30 Mar 2016 19:08:03 +0000

branch: elpa
commit 0f8baf6ab7bd330096b0a9533ca8c23f714c9115
Author: Matthew Leach <address@hidden>
Commit: Matthew Leach <address@hidden>

    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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]