diff options
author | Grant Shoshin Shangreaux <shoshin@cicadas.surf> | 2023-01-09 21:43:09 -0600 |
---|---|---|
committer | Grant Shoshin Shangreaux <shoshin@cicadas.surf> | 2023-01-09 21:43:09 -0600 |
commit | b3c502724d3675de1b2c3ac4870876da865e638a (patch) | |
tree | c0c0490dab021c46a27a58f83466b09c1e5900ff | |
parent | b73d5be759185100b448b1dcfbbe366712c9f4fe (diff) |
Add: [package] restclient from source
-rw-r--r-- | shoshimacs.el | 10 | ||||
-rw-r--r-- | shoshimacs.org | 14 |
2 files changed, 24 insertions, 0 deletions
diff --git a/shoshimacs.el b/shoshimacs.el index c7eba28..a2fb760 100644 --- a/shoshimacs.el +++ b/shoshimacs.el @@ -271,6 +271,16 @@ (kill-new url) (message "Pasted to %s (on kill ring)" url)))) +(defvar restclien-repo "https://github.com/pashky/restclient.el.git") +(defvar restclient-dir "~/src/restclient.el") + +(unless (file-directory-p restclient-dir) + (shell-command + (format "git clone %s %s" restclient-repo restclient-dir))) + +(add-to-list 'load-path restclient-dir) +(require 'restclient) + ;;; User Interface (when (display-graphic-p) (scroll-bar-mode -1) diff --git a/shoshimacs.org b/shoshimacs.org index 554cc3d..9861162 100644 --- a/shoshimacs.org +++ b/shoshimacs.org @@ -910,6 +910,20 @@ an API token is stored in my ~.authinfo~ file. (message "Pasted to %s (on kill ring)" url)))) #+end_src +** restclient + +#+begin_src emacs-lisp + (defvar restclien-repo "https://github.com/pashky/restclient.el.git") + (defvar restclient-dir "~/src/restclient.el") + + (unless (file-directory-p restclient-dir) + (shell-command + (format "git clone %s %s" restclient-repo restclient-dir))) + + (add-to-list 'load-path restclient-dir) + (require 'restclient) +#+end_src + * UI :PROPERTIES: :header-args:emacs-lisp: :noweb-ref user-interface :noweb-sep "\n\n" :results silent |