Define pkill Emacs function
I can kill process from Emacs instead of creating a terminal and using that.
This commit is contained in:
parent
402720792e
commit
e0fa9d907d
1 changed files with 6 additions and 0 deletions
|
@ -31,6 +31,12 @@
|
|||
;; Library
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
;; TODO: Move this function to another module.
|
||||
(defun pkill (name)
|
||||
"Call the pkill executable using NAME as its argument."
|
||||
(interactive "sProcess name: ")
|
||||
(call-process "pkill" nil nil nil name))
|
||||
|
||||
;; TODO: Associate `window-purpose' window-layouts with each of these named
|
||||
;; workspaces.
|
||||
|
||||
|
|
Loading…
Reference in a new issue