[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/url-http-oauth-demo 748fffdd9d 1/2: Assume newer Emacs
|
From: |
Thomas Fitzsimmons |
|
Subject: |
[elpa] externals/url-http-oauth-demo 748fffdd9d 1/2: Assume newer Emacs to use json-parse-buffer |
|
Date: |
Tue, 9 May 2023 11:09:16 -0400 (EDT) |
branch: externals/url-http-oauth-demo
commit 748fffdd9d6f35ba3380a5d5a4cec98e4620437f
Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Commit: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Assume newer Emacs to use json-parse-buffer
* url-http-oauth-demo.el: Require Emacs 27.1. Use
json-parse-buffer instead of url-http-oauth-json-parse-buffer (now
url-http-oauth--json-parse-buffer).
---
url-http-oauth-demo.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/url-http-oauth-demo.el b/url-http-oauth-demo.el
index 9311fc704c..b524ecb16b 100644
--- a/url-http-oauth-demo.el
+++ b/url-http-oauth-demo.el
@@ -5,8 +5,9 @@
;; Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
;; Version: 1.0.1
;; Keywords: comm, data, processes, hypermedia
-;; Package-Requires: ((url-http-oauth "0.8.1"))
-
+;; Package-Requires: ((url-http-oauth "0.8.1")
+;; (emacs "27.1")) ; for json-parse-buffer
+;;
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
@@ -165,7 +166,7 @@ Print the result to *Messages*. Return the name."
"me"
(gethash
"data"
- (url-http-oauth-json-parse-buffer)))))))
+ (json-parse-buffer)))))))
(provide 'url-http-oauth-demo)