[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/go-mode 0b32caa 093/495: fix usage of url-* functions
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/go-mode 0b32caa 093/495: fix usage of url-* functions |
Date: |
Sat, 7 Aug 2021 09:04:50 -0400 (EDT) |
branch: elpa/go-mode
commit 0b32caa75edbf0dce307ea0e43aec8499ebd4d7c
Author: Dominik Honnef <dominikh@fork-bomb.org>
Commit: Dominik Honnef <dominikh@fork-bomb.org>
fix usage of url-* functions
---
go-mode.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/go-mode.el b/go-mode.el
index 1829164..3d2ea7b 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -8,6 +8,7 @@
(require 'diff-mode)
(require 'ffap)
(require 'find-lisp)
+(require 'url)
(defconst go-dangling-operators-regexp "[^-]-\\|[^+]\\+\\|[/*&><.=|^]")
(defconst gofmt-stdin-tag "<standard input>")
@@ -562,7 +563,9 @@ link in the kill ring."
"Downloads a paste from the playground and inserts it in a Go
buffer. Tries to look for a URL at point."
(interactive (list (read-from-minibuffer "Playground URL: " (ffap-url-p
(ffap-string-at-point 'url)))))
- (with-current-buffer (url-retrieve-synchronously (concat url ".go"))
+ (with-current-buffer
+ (let ((url-request-method "GET") url-request-data
url-request-extra-headers)
+ (url-retrieve-synchronously (concat url ".go")))
(let ((buffer (generate-new-buffer (concat (car (last (split-string url
"/"))) ".go"))))
(goto-char (point-min))
(re-search-forward "\n\n")
- [nongnu] elpa/go-mode b0d4379 175/495: fix for eea3ccf, (continued)
- [nongnu] elpa/go-mode b0d4379 175/495: fix for eea3ccf, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 2089798 200/495: ignore backquote in comment or string, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 6b5fe38 204/495: write our own implementation of go--delete-whole-line, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 1319be5 210/495: simplify godoc-at-point, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 61aafe9 218/495: Allow spaces after "chan<-", ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 078d5d8 229/495: Use utf-8 when calling godef, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d900f72 060/495: extend indentation_tests/gh-15.go, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 846ed32 063/495: optimizations, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode e184d60 070/495: Replace go--directory-dirs with find-lisp-find-files-internal, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 56ab2c8 088/495: make sure kill-line in go-remove-unused-imports includes \n, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 0b32caa 093/495: fix usage of url-* functions,
ELPA Syncer <=
- [nongnu] elpa/go-mode 1fdbcbf 095/495: use line-number-at-pos isntead of count-lines, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 7512759 104/495: Merge branch 'master' of https://github.com/imarko/go-mode.el into imarko-master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode a52724b 116/495: use own history for godoc command, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode fb3e413 118/495: fix list markup in readme, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 0f0fe35 127/495: actually avoid using process-lines, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 5c3a797 129/495: Handle indentation for multi-line function declarations correctly, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode f5c445c 130/495: improve godef related documentation, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 97f55b8 131/495: style changes, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode b97cfea 133/495: godef-jump: use push-mark., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode a18b3f3 134/495: style change, ELPA Syncer, 2021/08/07