]> git.eshelyaron.com Git - emacs.git/commitdiff
(proced-command-alist): Add support for darwin.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 16 Apr 2008 03:09:58 +0000 (03:09 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 16 Apr 2008 03:09:58 +0000 (03:09 +0000)
lisp/ChangeLog
lisp/proced.el

index 106ed5d2107e2f0235bec60dccdf72998e531d3f..d5e033daf41d2e92fcba4ca68cccf7131e883db7 100644 (file)
@@ -1,3 +1,7 @@
+2008-04-16  Markus Triska  <markus.triska@gmx.at>
+
+       * proced.el (proced-command-alist): Add support for darwin.
+
 2008-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * proced.el (proced-mode): Redefine as just the major-mode.
index 126efdc558705f3d588fd9c56873ece0dc01afe4..f6e6c94e16610dedc3ebe75356259e0b5e5eb2fe 100644 (file)
@@ -62,6 +62,9 @@
            ("emacs" ("ps" "--pid" ,(number-to-string (emacs-pid))
                      "--ppid" ,(number-to-string (emacs-pid))
                       "uwww") 2)))
+        ((memq system-type '(darwin))
+         `(("user" ("ps" "-u" ,(number-to-string (user-uid))) 2)
+           ("all" ("ps" "-Au") 2)))
         (t ; standard syntax doesn't allow us to list running processes only
          `(("user" ("ps" "-fu" ,(number-to-string (user-uid))) 2)
            ("all" ("ps" "-ef") 2))))