diff options
| author | Stefan Monnier | 2008-04-16 03:09:58 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-04-16 03:09:58 +0000 |
| commit | f5b0081187b38a4ddf71ae631453ddbe6e2e167e (patch) | |
| tree | 405063ba57ff838f740cb1030c0007ec305ea153 | |
| parent | 079ba9b790ab68ed2fbda83c68560b4752d3b8fe (diff) | |
| download | emacs-f5b0081187b38a4ddf71ae631453ddbe6e2e167e.tar.gz emacs-f5b0081187b38a4ddf71ae631453ddbe6e2e167e.zip | |
(proced-command-alist): Add support for darwin.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/proced.el | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 106ed5d2107..d5e033daf41 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-04-16 Markus Triska <markus.triska@gmx.at> | ||
| 2 | |||
| 3 | * proced.el (proced-command-alist): Add support for darwin. | ||
| 4 | |||
| 1 | 2008-04-16 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2008-04-16 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * proced.el (proced-mode): Redefine as just the major-mode. | 7 | * proced.el (proced-mode): Redefine as just the major-mode. |
diff --git a/lisp/proced.el b/lisp/proced.el index 126efdc5587..f6e6c94e166 100644 --- a/lisp/proced.el +++ b/lisp/proced.el | |||
| @@ -62,6 +62,9 @@ | |||
| 62 | ("emacs" ("ps" "--pid" ,(number-to-string (emacs-pid)) | 62 | ("emacs" ("ps" "--pid" ,(number-to-string (emacs-pid)) |
| 63 | "--ppid" ,(number-to-string (emacs-pid)) | 63 | "--ppid" ,(number-to-string (emacs-pid)) |
| 64 | "uwww") 2))) | 64 | "uwww") 2))) |
| 65 | ((memq system-type '(darwin)) | ||
| 66 | `(("user" ("ps" "-u" ,(number-to-string (user-uid))) 2) | ||
| 67 | ("all" ("ps" "-Au") 2))) | ||
| 65 | (t ; standard syntax doesn't allow us to list running processes only | 68 | (t ; standard syntax doesn't allow us to list running processes only |
| 66 | `(("user" ("ps" "-fu" ,(number-to-string (user-uid))) 2) | 69 | `(("user" ("ps" "-fu" ,(number-to-string (user-uid))) 2) |
| 67 | ("all" ("ps" "-ef") 2)))) | 70 | ("all" ("ps" "-ef") 2)))) |