From 0f873d646031971dd37824181b65ce457576749e Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Mon, 25 Sep 2023 09:33:17 -0300 Subject: Add emacs configuration --- emacs/my.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 emacs/my.el (limited to 'emacs/my.el') diff --git a/emacs/my.el b/emacs/my.el new file mode 100644 index 0000000..07ce9f8 --- /dev/null +++ b/emacs/my.el @@ -0,0 +1,12 @@ +(defun ceg/show-urls (what) + "Run show-urls and grep for WHAT." + (interactive "sUrl: ") + (shell-command (concat "python " ceg/manage-bin " show_urls --no-color | grep '" what "'") + (concat "*URL<" what ">"))) + +(defun my/show-urls (what) + "Run show_urls and grep for WHAT." + (interactive "sUrl: ") + (let ((command (concat "python " ceg/manage-bin " show_urls --no-color | grep '" what "'")) + (buf (concat "*URL<" what ">"))) + )) -- cgit v1.2.3-70-g09d2