emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r102308: net-utils system-type trivia


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102308: net-utils system-type trivia.
Date: Tue, 09 Nov 2010 20:13:21 -0800
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102308
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2010-11-09 20:13:21 -0800
message:
  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.
modified:
  lisp/ChangeLog
  lisp/net/net-utils.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-11-10 04:11:08 +0000
+++ b/lisp/ChangeLog    2010-11-10 04:13:21 +0000
@@ -1,5 +1,8 @@
 2010-11-10  Glenn Morris  <address@hidden>
 
+       * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
+       (ping-program-options): Remove non-existent `linux' system-type.
+
        * startup.el (package-initialize): Update declaration.
 
        * textmodes/remember.el (remember-time-to-seconds): Remove.

=== modified file 'lisp/net/net-utils.el'
--- a/lisp/net/net-utils.el     2010-09-23 07:05:22 +0000
+++ b/lisp/net/net-utils.el     2010-11-10 04:13:21 +0000
@@ -55,8 +55,7 @@
   :group 'comm
   :version "20.3")
 
-(defcustom net-utils-remove-ctl-m
-  (member system-type (list 'windows-nt 'msdos))
+(defcustom net-utils-remove-ctl-m (memq system-type '(windows-nt msdos))
   "If non-nil, remove control-Ms from output."
   :group 'net-utils
   :type  'boolean)
@@ -82,7 +81,7 @@
 ;; On GNU/Linux and Irix, the system's ping program seems to send packets
 ;; indefinitely unless told otherwise
 (defcustom ping-program-options
-  (and (memq system-type (list 'linux 'gnu/linux 'irix))
+  (and (memq system-type '(gnu/linux irix))
        (list "-c" "4"))
   "Options for the ping program.
 These options can be used to limit how many ICMP packets are emitted."
@@ -889,5 +888,4 @@
 
 (provide 'net-utils)
 
-;; arch-tag: 97119e91-9edb-4376-838b-bf7058fa1314
 ;;; net-utils.el ends here


reply via email to

[Prev in Thread] Current Thread [Next in Thread]