From b3c502724d3675de1b2c3ac4870876da865e638a Mon Sep 17 00:00:00 2001 From: Grant Shoshin Shangreaux Date: Mon, 9 Jan 2023 21:43:09 -0600 Subject: Add: [package] restclient from source --- shoshimacs.el | 10 ++++++++++ shoshimacs.org | 14 ++++++++++++++ 2 files changed, 24 insertions(+) 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 -- cgit v1.2.3