diff options
author | Oscar Najera <hi@oscarnajera.com> | 2025-02-16 21:40:48 +0100 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2025-02-16 21:40:48 +0100 |
commit | 69b016c3b21f87894a63e51b4c567c61472ee381 (patch) | |
tree | ffdf3282dc8146f61d286b72cdbcf7c8a8d98429 /config/doom/config.org | |
parent | 7c8f453e7f9a928a5152c9451464d1713139bfc7 (diff) | |
download | dotfiles-69b016c3b21f87894a63e51b4c567c61472ee381.tar.gz dotfiles-69b016c3b21f87894a63e51b4c567c61472ee381.tar.bz2 dotfiles-69b016c3b21f87894a63e51b4c567c61472ee381.zip |
Diffstat (limited to 'config/doom/config.org')
-rw-r--r-- | config/doom/config.org | 17 |
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" |