aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/doom/config.org17
1 files changed, 8 insertions, 9 deletions
diff --git a/config/doom/config.org b/config/doom/config.org
index b9773ce..7ef66e4 100644
--- a/config/doom/config.org
+++ b/config/doom/config.org
@@ -191,15 +191,14 @@ Shamelessly copied from https://tecosaur.github.io/emacs-config/#dictionary
(defun on/shavian-transliterate (start end)
"Convert text from START to END to Shavian in new buffer."
(interactive "r")
- (let ((buffer (get-buffer-create "*shavian translit*"))
- (url-request-method "POST")
- (url-request-extra-headers
- '(("Content-Type" . "application/x-www-form-urlencoded")))
- (url-request-data
- (thread-last
- (buffer-substring-no-properties start end)
- (url-hexify-string )
- (format "text=%s"))))
+ (let ((url-request-method "POST")
+ (url-request-extra-headers
+ '(("Content-Type" . "application/x-www-form-urlencoded")))
+ (url-request-data
+ (thread-last
+ (buffer-substring-no-properties start end)
+ (url-hexify-string)
+ (format "text=%s"))))
(url-retrieve
"http://localhost:4242/shaw"