Fix: don't try to parse http headers to json

This commit is contained in:
TEC 2021-09-27 01:12:03 +08:00
parent 9ad10602b3
commit 66e0727554
Signed by: tec
GPG key ID: 779591AFDB81F06C

View file

@ -4970,6 +4970,7 @@ Entries of the form (subject . id)."
'face 'font-lock-keyword-face)) 'face 'font-lock-keyword-face))
(plist-get entry :id)))) (plist-get entry :id))))
(with-current-buffer (url-retrieve-synchronously "https://updates.orgmode.org/data/patches") (with-current-buffer (url-retrieve-synchronously "https://updates.orgmode.org/data/patches")
(goto-char url-http-end-of-headers)
(json-parse-buffer :object-type 'plist))))) (json-parse-buffer :object-type 'plist)))))
(defun +org-ml-select-patch-thread () (defun +org-ml-select-patch-thread ()