mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(proced-command-alist): Add support for darwin.
This commit is contained in:
parent
079ba9b790
commit
f5b0081187
2 changed files with 7 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue