From 84d6fb8f39da41ea3f908b6cbe95c9c9bb4d81f1 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 31 Aug 2020 14:36:55 +0100 Subject: Lint window-manager.el - change `exwm/` prefixes to `window-manager-` - add Version, URL, Package-Requires sections - move `pkill` into wpc-misc.el - unify `window-manager,` `exwm` competing prefixes --- emacs/.emacs.d/wpc/wpc-misc.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'emacs/.emacs.d/wpc/wpc-misc.el') diff --git a/emacs/.emacs.d/wpc/wpc-misc.el b/emacs/.emacs.d/wpc/wpc-misc.el index 21dab767fc..b5ecff44b9 100644 --- a/emacs/.emacs.d/wpc/wpc-misc.el +++ b/emacs/.emacs.d/wpc/wpc-misc.el @@ -216,6 +216,11 @@ (add-to-list 'project-find-functions #'wpc-misc--briefcase-find) +(defun wpc-misc-pkill (name) + "Call the pkill executable using NAME as its argument." + (interactive "sProcess name: ") + (call-process "pkill" nil nil nil name)) + (use-package deadgrep :config (general-define-key -- cgit 1.4.1