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

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

[elpa] 143/352: Sallitaan connection-argumentille arvoksi sekä "t" että


From: Stefan Monnier
Subject: [elpa] 143/352: Sallitaan connection-argumentille arvoksi sekä "t" että "pty"
Date: Mon, 07 Jul 2014 14:03:20 +0000

monnier pushed a commit to branch master
in repository elpa.

commit 2a667d74d66ec8c3f6b27ec666055ca3107677eb
Author: Teemu Likonen <address@hidden>
Date:   Sat Feb 13 20:07:52 2010 +0000

    Sallitaan connection-argumentille arvoksi sekä "t" että "pty"
---
 wcheck-mode.el |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/wcheck-mode.el b/wcheck-mode.el
index efcc44b..4e278a2 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -66,10 +66,10 @@ args
      Optional command-line argument string for the program.
 
 connection
-    The value is used to set variable `process-connection-type'
-    when starting the process for LANGUAGE. See the documentation
-    of variable `process-connection-type' for more information.
-    The default is to use a pipe for communication (nil).
+    The VALUE is used to set variable `process-connection-type'
+    when starting the process for LANGUAGE. If the VALUE is nil
+    use a pipe for communication; if it's `pty' (or t) use a PTY.
+    The default is to use a pipe (nil).
 
 face
     A symbol referring to a face which is used to mark text with
@@ -174,7 +174,10 @@ An example contents of the `wcheck-language-data' variable:
             (const :tag "Connection type: " :format "%t" connection)
             (choice :format "%[Value Menu%] %v" :value nil
                     (const :tag "pipe (nil)" nil)
-                    (const :tag "pty" pty)))
+                    (const :tag "pty" :match (lambda (widget value)
+                                               (or (eq value t)
+                                                   (eq value 'pty)))
+                           pty)))
       (cons :tag "Face" :format "%v"
             (const :tag "Face: " :format "%t" face)
             (symbol :format "%v" :value wcheck-default-face))



reply via email to

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