aboutsummaryrefslogtreecommitdiffstats
path: root/config/doom
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-02-16 21:40:48 +0100
committerOscar Najera <hi@oscarnajera.com>2025-02-16 21:40:48 +0100
commit69b016c3b21f87894a63e51b4c567c61472ee381 (patch)
treeffdf3282dc8146f61d286b72cdbcf7c8a8d98429 /config/doom
parent7c8f453e7f9a928a5152c9451464d1713139bfc7 (diff)
downloaddotfiles-69b016c3b21f87894a63e51b4c567c61472ee381.tar.gz
dotfiles-69b016c3b21f87894a63e51b4c567c61472ee381.tar.bz2
dotfiles-69b016c3b21f87894a63e51b4c567c61472ee381.zip
shavian
Diffstat (limited to 'config/doom')
-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"