diff options
author | oreodave <aryadevchavali1@gmail.com> | 2019-11-01 02:30:57 +0000 |
---|---|---|
committer | oreodave <aryadevchavali1@gmail.com> | 2019-11-01 02:30:57 +0000 |
commit | 15b699e105c0e8362c1cffbf37da007bc0395c20 (patch) | |
tree | ebfd01f40159f46bc9ff6646069f375140654267 /doom.d/config.org | |
parent | c48bd66136481594134853fe22c941d20ecd0edd (diff) | |
download | dotfiles-15b699e105c0e8362c1cffbf37da007bc0395c20.tar.gz dotfiles-15b699e105c0e8362c1cffbf37da007bc0395c20.tar.bz2 dotfiles-15b699e105c0e8362c1cffbf37da007bc0395c20.zip |
-download items section
Barely use it, useless for anything except *get* requests.
Diffstat (limited to 'doom.d/config.org')
-rw-r--r-- | doom.d/config.org | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/doom.d/config.org b/doom.d/config.org index 17b0741..7d103b1 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -310,24 +310,6 @@ in Doom, so I need this binding :desc "Format code universally" "=" 'format-all-buffer) ) #+END_SRC -*** Download Items -#+BEGIN_SRC elisp -(defun oreodave/request-json-fn (url) - (set-process-sentinel - (start-process-shell-command "request-json" "*request-json*" (format "curl %s" url)) - (lambda (process event) - (when (memq (process-status process) '(exit stop)) - (message "Request finished") - (with-current-buffer "*request-json*" - (json-mode) - (json-mode-beautify)))))) - -(defun oreodave/request-json () - (interactive) - (oreodave/request-json-fn (read-string "Enter url: ")) - ) -#+END_SRC -Download JSON easily and be able to get responses quickly. *** Themes #+BEGIN_SRC elisp (setq oreodave/aesthetics/list '(doom-molokai doom-peacock doom-solarized-dark)) |