[Top][All Lists]

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

[elpa] elpa 36b6051 12/51: Compatibility for XEmacs

From: Tassilo Horn
Subject: [elpa] elpa 36b6051 12/51: Compatibility for XEmacs
Date: Sun, 22 May 2016 07:22:48 +0000 (UTC)

branch: elpa
commit 36b6051bcff3b6fc2e6937136a45af09c7b8b0c7
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>

    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'.
 style/tikz.el |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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 
 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 
+  (let* ((selected-argument-type (TeX-TikZ-get-arg-type function-alist prompt))
          (fn-alist-with-optional-elm (if optional
                                          `(,@function-alist ("" identity))

reply via email to

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