mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
This commit is contained in:
commit
b03f96dc5a
71 changed files with 1500 additions and 705 deletions
|
|
@ -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,13 @@ These options can be used to limit how many ICMP packets are emitted."
|
|||
:group 'net-utils
|
||||
:type 'string)
|
||||
|
||||
(defcustom ipconfig-program-options
|
||||
(define-obsolete-variable-alias 'ipconfig-program 'ifconfig-program "22.2")
|
||||
|
||||
(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))
|
||||
|
||||
|
|
@ -121,6 +123,9 @@ These options can be used to limit how many ICMP packets are emitted."
|
|||
:type '(repeat string)
|
||||
:version "23.1")
|
||||
|
||||
(define-obsolete-variable-alias 'ipconfig-program-options
|
||||
'ifconfig-program-options "22.2")
|
||||
|
||||
(defcustom netstat-program "netstat"
|
||||
"Program to print network statistics."
|
||||
:group 'net-utils
|
||||
|
|
@ -364,18 +369,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 iwconfig ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue