(nntp-via-netcat-command): Rename nntp-netcat-command.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 12 Apr 2004 09:04:25 +0000 (09:04 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 12 Apr 2004 09:04:25 +0000 (09:04 +0000)
(nntp-via-netcat-switches): Rename nntp-netcat-switches.

lisp/ChangeLog
lisp/nntp.el

index cb1e0d7..55ab168 100644 (file)
@@ -1,7 +1,7 @@
 2004-04-12  Katsumi Yamaoka  <yamaoka@jpl.org>
 
-       * nntp.el (nntp-netcat-command): New variable.
-       (nntp-netcat-switches): New variable.
+       * nntp.el (nntp-via-netcat-command): New variable.
+       (nntp-via-netcat-switches): New variable.
        (nntp-open-via-rlogin-and-netcat): New function.
        (nntp-open-connection-function): Doc fix.
        (nntp-telnet-command): Doc fix.
index 6ca4590..b23c334 100644 (file)
@@ -90,21 +90,11 @@ This is where you would put \"runsocks\" or stuff like that.")
 (defvoo nntp-telnet-command "telnet"
   "*Telnet command used to connect to the nntp server.
 This command is used by the methods `nntp-open-telnet-stream',
-`nntp-open-via-rlogin-and-telnet' and `nntp-open-via-telnet-and-telnet'.
-
-See `nntp-netcat-command' for the `nntp-open-via-rlogin-and-netcat'
-method.")
+`nntp-open-via-rlogin-and-telnet' and `nntp-open-via-telnet-and-telnet'.")
 
 (defvoo nntp-telnet-switches '("-8")
   "*Switches given to the telnet command `nntp-telnet-command'.")
 
-(defvoo nntp-netcat-command "nc"
-  "*Netcat command used to connect to the nntp server.
-This command is used by the `nntp-open-via-rlogin-and-netcat' method.")
-
-(defvoo nntp-netcat-switches nil
-  "*Switches given to the netcat command `nntp-netcat-command'.")
-
 (defvoo nntp-end-of-line "\r\n"
   "*String to use on the end of lines when talking to the NNTP server.
 This is \"\\r\\n\" by default, but should be \"\\n\" when using and
@@ -130,6 +120,13 @@ This command is used by the `nntp-open-via-telnet-and-telnet' method.")
 (defvoo nntp-via-telnet-switches '("-8")
   "*Switches given to the telnet command `nntp-via-telnet-command'.")
 
+(defvoo nntp-via-netcat-command "nc"
+  "*Netcat command used to connect to the nntp server.
+This command is used by the `nntp-open-via-rlogin-and-netcat' method.")
+
+(defvoo nntp-via-netcat-switches nil
+  "*Switches given to the netcat command `nntp-via-netcat-command'.")
+
 (defvoo nntp-via-user-name nil
   "*User name to log in on an intermediate host with.
 This variable is used by the various nntp-open-via-* methods.")
@@ -1815,8 +1812,8 @@ Please refer to the following variables to customize the connection:
 - `nntp-via-rlogin-command-switches',
 - `nntp-via-user-name',
 - `nntp-via-address',
-- `nntp-netcat-command',
-- `nntp-netcat-switches',
+- `nntp-via-netcat-command',
+- `nntp-via-netcat-switches',
 - `nntp-address',
 - `nntp-port-number',
 - `nntp-end-of-line'."
@@ -1828,8 +1825,8 @@ Please refer to the following variables to customize the connection:
                   ,@(when nntp-via-user-name
                       (list "-l" nntp-via-user-name))
                   ,nntp-via-address
-                  ,nntp-netcat-command
-                  ,@nntp-netcat-switches
+                  ,nntp-via-netcat-command
+                  ,@nntp-via-netcat-switches
                   ,nntp-address
                   ,nntp-port-number)))
     (apply 'start-process "nntpd" buffer command)))