summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2008-02-08 18:22:19 +0000
committerRichard M. Stallman <rms@gnu.org>2008-02-08 18:22:19 +0000
commit5952c7e5f50758ab71cf10df9651139591d3b8df (patch)
tree68fe4efebe03c1b6d5beb8e1bca18c8e3103c55d /lisp
parentdaa78663539b473b25d9982a4fca05c0a238df06 (diff)
downloademacs-5952c7e5f50758ab71cf10df9651139591d3b8df.tar.gz
(ifconfig): Renamed from ipconfig.
(ipconfig): Alas to ifconfig. (ifconfig-program): Renamed from ipconfig-program. (ifconfig-program-options): Renamed from ipconfig-program-options.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/net-utils.el22
1 files changed, 11 insertions, 11 deletions
diff --git a/lisp/net/net-utils.el b/lisp/net/net-utils.el
index fcfb8524b09..bc235b71f94 100644
--- a/lisp/net/net-utils.el
+++ b/lisp/net/net-utils.el
@@ -93,7 +93,7 @@ These options can be used to limit how many ICMP packets are emitted."
:group 'net-utils
:type '(repeat string))
-(defcustom ipconfig-program
+(defcustom ifconfig-program
(if (eq system-type 'windows-nt)
"ipconfig"
"ifconfig")
@@ -101,11 +101,11 @@ These options can be used to limit how many ICMP packets are emitted."
:group 'net-utils
:type 'string)
-(defcustom ipconfig-program-options
+(defcustom ifconfig-program-options
(list
(if (eq system-type 'windows-nt)
"/all" "-a"))
- "Options for ipconfig-program."
+ "Options for `ifconfig-program'."
:group 'net-utils
:type '(repeat string))
@@ -352,18 +352,18 @@ If your system's ping continues until interrupted, you can try setting
options)))
;;;###autoload
-(defun ipconfig ()
- "Run ipconfig program."
+(defun ifconfig ()
+ "Run ifconfig program."
(interactive)
(net-utils-run-program
- "Ipconfig"
- (concat "** Ipconfig ** " ipconfig-program " ** ")
- ipconfig-program
- ipconfig-program-options))
+ "Ifconfig"
+ (concat "** Ifconfig ** " ifconfig-program " ** ")
+ ifconfig-program
+ ifconfig-program-options))
-;; This is the normal name on most Unixes.
+;; Windows uses this name.
;;;###autoload
-(defalias 'ifconfig 'ipconfig)
+(defalias 'ipconfig 'ifconfig)
;;;###autoload
(defun netstat ()