diff options
| author | Richard M. Stallman | 2008-02-08 18:22:54 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2008-02-08 18:22:54 +0000 |
| commit | 46f6fa95d18dfc951e1c55fee1c727d68f006861 (patch) | |
| tree | 3e351ee0e4531d4bdb13952942fa6ef74020a7e1 | |
| parent | 1e281896cfa95242a33b483085383a1d9660da4c (diff) | |
| download | emacs-46f6fa95d18dfc951e1c55fee1c727d68f006861.tar.gz emacs-46f6fa95d18dfc951e1c55fee1c727d68f006861.zip | |
(ifconfig): Renamed from ipconfig.
(ipconfig): Alas to ifconfig.
(ifconfig-program): Renamed from ipconfig-program.
(ifconfig-program-options): Renamed from ipconfig-program-options.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/net/net-utils.el | 22 |
2 files changed, 18 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 243018e12b8..2732fb56bb5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2008-02-08 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * net/net-utils.el (ifconfig): Renamed from ipconfig. | ||
| 4 | (ipconfig): Alas to ifconfig. | ||
| 5 | (ifconfig-program): Renamed from ipconfig-program. | ||
| 6 | (ifconfig-program-options): Renamed from ipconfig-program-options. | ||
| 7 | |||
| 1 | 2008-02-08 Glenn Morris <rgm@gnu.org> | 8 | 2008-02-08 Glenn Morris <rgm@gnu.org> |
| 2 | 9 | ||
| 3 | * custom.el (custom-theme-set-variables): Sort symbols that are | 10 | * custom.el (custom-theme-set-variables): Sort symbols that are |
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." | |||
| 93 | :group 'net-utils | 93 | :group 'net-utils |
| 94 | :type '(repeat string)) | 94 | :type '(repeat string)) |
| 95 | 95 | ||
| 96 | (defcustom ipconfig-program | 96 | (defcustom ifconfig-program |
| 97 | (if (eq system-type 'windows-nt) | 97 | (if (eq system-type 'windows-nt) |
| 98 | "ipconfig" | 98 | "ipconfig" |
| 99 | "ifconfig") | 99 | "ifconfig") |
| @@ -101,11 +101,11 @@ These options can be used to limit how many ICMP packets are emitted." | |||
| 101 | :group 'net-utils | 101 | :group 'net-utils |
| 102 | :type 'string) | 102 | :type 'string) |
| 103 | 103 | ||
| 104 | (defcustom ipconfig-program-options | 104 | (defcustom ifconfig-program-options |
| 105 | (list | 105 | (list |
| 106 | (if (eq system-type 'windows-nt) | 106 | (if (eq system-type 'windows-nt) |
| 107 | "/all" "-a")) | 107 | "/all" "-a")) |
| 108 | "Options for ipconfig-program." | 108 | "Options for `ifconfig-program'." |
| 109 | :group 'net-utils | 109 | :group 'net-utils |
| 110 | :type '(repeat string)) | 110 | :type '(repeat string)) |
| 111 | 111 | ||
| @@ -352,18 +352,18 @@ If your system's ping continues until interrupted, you can try setting | |||
| 352 | options))) | 352 | options))) |
| 353 | 353 | ||
| 354 | ;;;###autoload | 354 | ;;;###autoload |
| 355 | (defun ipconfig () | 355 | (defun ifconfig () |
| 356 | "Run ipconfig program." | 356 | "Run ifconfig program." |
| 357 | (interactive) | 357 | (interactive) |
| 358 | (net-utils-run-program | 358 | (net-utils-run-program |
| 359 | "Ipconfig" | 359 | "Ifconfig" |
| 360 | (concat "** Ipconfig ** " ipconfig-program " ** ") | 360 | (concat "** Ifconfig ** " ifconfig-program " ** ") |
| 361 | ipconfig-program | 361 | ifconfig-program |
| 362 | ipconfig-program-options)) | 362 | ifconfig-program-options)) |
| 363 | 363 | ||
| 364 | ;; This is the normal name on most Unixes. | 364 | ;; Windows uses this name. |
| 365 | ;;;###autoload | 365 | ;;;###autoload |
| 366 | (defalias 'ifconfig 'ipconfig) | 366 | (defalias 'ipconfig 'ifconfig) |
| 367 | 367 | ||
| 368 | ;;;###autoload | 368 | ;;;###autoload |
| 369 | (defun netstat () | 369 | (defun netstat () |