aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-11-09 20:13:21 -0800
committerGlenn Morris2010-11-09 20:13:21 -0800
commit17731c39b249ec0e40ece1e18ed120ff4031568c (patch)
tree539d7fec2ccafe25793455c4f6f7244118d7d9f6
parent9228bbd3458f4b827a01bb2a4d28b3f77f6d3ac5 (diff)
downloademacs-17731c39b249ec0e40ece1e18ed120ff4031568c.tar.gz
emacs-17731c39b249ec0e40ece1e18ed120ff4031568c.zip
net-utils system-type trivia.
* lisp/net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types. (ping-program-options): Remove non-existent `linux' system-type.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/net/net-utils.el6
2 files changed, 5 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f5b45fda925..19500be1a7f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12010-11-10 Glenn Morris <rgm@gnu.org> 12010-11-10 Glenn Morris <rgm@gnu.org>
2 2
3 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4 (ping-program-options): Remove non-existent `linux' system-type.
5
3 * startup.el (package-initialize): Update declaration. 6 * startup.el (package-initialize): Update declaration.
4 7
5 * textmodes/remember.el (remember-time-to-seconds): Remove. 8 * textmodes/remember.el (remember-time-to-seconds): Remove.
diff --git a/lisp/net/net-utils.el b/lisp/net/net-utils.el
index b69c571ddf5..60829f300b5 100644
--- a/lisp/net/net-utils.el
+++ b/lisp/net/net-utils.el
@@ -55,8 +55,7 @@
55 :group 'comm 55 :group 'comm
56 :version "20.3") 56 :version "20.3")
57 57
58(defcustom net-utils-remove-ctl-m 58(defcustom net-utils-remove-ctl-m (memq system-type '(windows-nt msdos))
59 (member system-type (list 'windows-nt 'msdos))
60 "If non-nil, remove control-Ms from output." 59 "If non-nil, remove control-Ms from output."
61 :group 'net-utils 60 :group 'net-utils
62 :type 'boolean) 61 :type 'boolean)
@@ -82,7 +81,7 @@
82;; On GNU/Linux and Irix, the system's ping program seems to send packets 81;; On GNU/Linux and Irix, the system's ping program seems to send packets
83;; indefinitely unless told otherwise 82;; indefinitely unless told otherwise
84(defcustom ping-program-options 83(defcustom ping-program-options
85 (and (memq system-type (list 'linux 'gnu/linux 'irix)) 84 (and (memq system-type '(gnu/linux irix))
86 (list "-c" "4")) 85 (list "-c" "4"))
87 "Options for the ping program. 86 "Options for the ping program.
88These options can be used to limit how many ICMP packets are emitted." 87These options can be used to limit how many ICMP packets are emitted."
@@ -889,5 +888,4 @@ from SEARCH-STRING. With argument, prompt for whois server."
889 888
890(provide 'net-utils) 889(provide 'net-utils)
891 890
892;; arch-tag: 97119e91-9edb-4376-838b-bf7058fa1314
893;;; net-utils.el ends here 891;;; net-utils.el ends here