[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/xml-rpc ed942fd4f8 20/64: fix new warnings that pop up cou
From: |
Stefan Kangas |
Subject: |
[nongnu] elpa/xml-rpc ed942fd4f8 20/64: fix new warnings that pop up courtesy of Leo |
Date: |
Fri, 31 Dec 2021 20:11:03 -0500 (EST) |
branch: elpa/xml-rpc
commit ed942fd4f8a0040b395c52e5eb1154caa864a91f
Author: Mark A. Hershberger <mah@everybody.org>
Commit: Mark A. Hershberger <mah@everybody.org>
fix new warnings that pop up courtesy of Leo
---
xml-rpc.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/xml-rpc.el b/xml-rpc.el
index da3718d87d..f734ad0415 100644
--- a/xml-rpc.el
+++ b/xml-rpc.el
@@ -482,7 +482,7 @@ and empty it"
(while (progn (setq name (format " *XML-RPC-%d*" num)
buf (get-buffer name))
(and buf (or (get-buffer-process buf)
- (save-excursion (set-buffer buf)
+ (with-current-buffer buf
(> (point-max) 1)))))
(setq num (1+ num)))
name))
@@ -545,8 +545,7 @@ or nil if called with ASYNC-CALLBACK-FUNCTION."
(let ((result (xml-rpc-request-process-buffer
(current-buffer))))
(when (> xml-rpc-debug 1)
- (save-excursion
- (set-buffer (create-file-buffer "result-data"))
+ (with-current-buffer (create-file-buffer "result-data")
(insert result)))
result)))
(t ; Post emacs20 w3-el
@@ -609,8 +608,7 @@ or nil if called with ASYNC-CALLBACK-FUNCTION."
(defun xml-rpc-request-process-buffer (xml-buffer)
"Process buffer XML-BUFFER."
(unwind-protect
- (save-excursion
- (set-buffer xml-buffer)
+ (with-current-buffer xml-buffer
(when (fboundp 'url-uncompress)
(let ((url-working-buffer xml-buffer))
(url-uncompress)))
- [nongnu] branch elpa/xml-rpc created (now 8020ccd176), Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 6bb1682468 01/64: Initial commit, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc fa2aee2be9 05/64: (xml-rpc-request-process-buffer): Make regex less picky to avoid some problems with CVS Emacs. (xml-rpc-xml-list-to-value): Take away dependency on rfc2047.el. (xml-rpc-base64-decode-unicode): New variable., Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc ba97dad421 08/64: (xml-rpc-allow-unicode-string): New setting to toggle UTF-8-ability before shipping to server. (unless): Use Emacs23's xml-print if we're running in Emacs22., Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 595b04054b 03/64: reorg & capability update, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc d8d2883b52 06/64: (xml-rpc-value-structp, xml-rpc-value-to-xml-list): Apply patch from Vitaly Mayatskikh <address@hidden> to add support for more complex struct types. Add xml-rpc patch from trac-wiki-mode (http://www.meadowy.org/~gotoh/projects/trac-wiki/), Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc ed942fd4f8 20/64: fix new warnings that pop up courtesy of Leo,
Stefan Kangas <=
- [nongnu] elpa/xml-rpc aa0953b2d4 32/64: Improve detection of structs with a patch from Jos'h Fuller, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 8ee416cb76 43/64: Return a unibyte string so that url.el doesn't think it's the, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 435c8a6205 45/64: Add .gitignore, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 402d613cd8 46/64: Bump version number to match tag, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 3346027583 13/64: update timestamps, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 3e329a3657 19/64: Update copyright to GPL 3, add installation instructions., Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 750fd4fb15 17/64: On functions that are conditionally defined, (xml-debug-print, timezone-parse-date), take them out of the eval-when-compile block so that they're compiled into .elc files. (url): Make sure url-http is loaded to avoid warnings later about let-bound variables. (xml-rpc-value-arrayp): Also verify that it is not a dateTime value., Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc c8b5e022cd 23/64: Apply Leo's patches, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 0bdeb7d339 26/64: fix problem with debugging & another extra var xemacs found, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 8d06f89027 35/64: xml-rpc.el: add xml-rpc-request-extra-headers variable, Stefan Kangas, 2021/12/31