diff options
Diffstat (limited to 'emacs/my.el')
-rw-r--r-- | emacs/my.el | 12 |
1 files changed, 12 insertions, 0 deletions
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 ">"))) + )) |