Subject: 31.0.50; oauth2.el; error in byte-compiling

From: Kazuhiro Ito <[email-masked]>
Date: Sat, 06 Sep 2025 00:30:03 +0900

When I byte-compile oauth2.el (0.18), below errors and warnings are
displayed and fail to byte-compiling.

In oauth2--build-url-param-str:
oauth2.el:164:12: Error: ‘add-to-list’ can’t use lexical var ‘data-list’;
    use ‘push’ or ‘cl-pushnew’

In oauth2--generate-code-verifier:
oauth2.el:187:11: Warning: Unused lexical variable ‘func-name’

In oauth2-request-authorization:
oauth2.el:223:16: Error: ‘add-to-list’ can’t use lexical var ‘param’; use
    ‘push’ or ‘cl-pushnew’

In end of data:
oauth2.el:124:8: Warning: the function ‘org-plist-delete’ is not known to be
    defined.

-- 
Kazuhiro Ito