emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/plz-see e144d38654 09/10: Don't make base URL and heade


From: ELPA Syncer
Subject: [elpa] externals/plz-see e144d38654 09/10: Don't make base URL and headers variables buffer-local by default
Date: Wed, 1 Nov 2023 18:58:46 -0400 (EDT)

branch: externals/plz-see
commit e144d38654a6b0ae47b93e2dcba0929830a40a39
Author: Augusto Stoffel <arstoffel@gmail.com>
Commit: Augusto Stoffel <arstoffel@gmail.com>

    Don't make base URL and headers variables buffer-local by default
---
 README.org | 4 ++--
 plz-see.el | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/README.org b/README.org
index d6289a2f58..98992bd91b 100644
--- a/README.org
+++ b/README.org
@@ -65,8 +65,8 @@ server response, and store it in the default headers for 
future use.
                  (lambda (r)
                    (with-current-buffer buffer
                      (let ((token (alist-get 'access_token r)))
-                       (setq plz-see-base-headers
-                             `(("Authorization" . ,(concat "Bearer " 
token)))))))))
+                       (setq-local plz-see-base-headers
+                                   `(("Authorization" . ,(concat "Bearer " 
token)))))))))
 
 (plz-see 'get "/authenticated")  ; Yay!
 #+end_src
diff --git a/plz-see.el b/plz-see.el
index 569f5f7c02..3b43c515d3 100644
--- a/plz-see.el
+++ b/plz-see.el
@@ -46,7 +46,6 @@
   "Prefix to add to the URL argument of `plz-see', if relative.
 Relative here means, paradoxically, that the URL in question
 starts with \"/\"."
-  :local t
   :type '(choice string (const :tag "None" nil))
   :safe #'stringp)
 
@@ -54,7 +53,6 @@ starts with \"/\"."
   "List of headers to add to all requests.
 Entries of this alist are ignored if the same header is given
 explicitly in the HEADERS argument of `plz-see'."
-  :local t
   :type '(alist :key-type string :value-type string)
   :safe #'listp)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]