diff options
author | Matias Linares <matias.linares@comprandoengrupo.net> | 2023-09-25 09:33:17 -0300 |
---|---|---|
committer | Matias Linares <matias.linares@comprandoengrupo.net> | 2023-09-25 09:33:17 -0300 |
commit | 0f873d646031971dd37824181b65ce457576749e (patch) | |
tree | 4c897c8af19d50aa6746ec0c08b90b7b57046c4d /emacs/my.el | |
parent | 6c4c5513618105ea4ce081b04e0545c7c05431d8 (diff) | |
download | dotfiles-0f873d646031971dd37824181b65ce457576749e.tar.gz |
Add emacs configuration
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 ">"))) + )) |