Created
June 11, 2014 19:00
-
-
Save mrvdb/c03a88b8bfed77b3a267 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun delete-process-interactive () | |
(interactive) | |
(let ((pname (ido-completing-read "Process Name: " | |
(mapcar 'process-name (process-list))))) | |
(delete-process (get-process pname)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment