From 21d9303c61ce5ecc81fd7ea96aeb94b5b03bee79 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 31 Jan 2021 16:30:55 +0100 Subject: Prefer defvar-local in net/*.el * lisp/net/browse-url.el (browse-url-temp-file-name): * lisp/net/rcirc.el (rcirc-ignore-buffer-activity-flag) (rcirc-low-priority-flag, rcirc-parent-buffer) (rcirc-activity-types, rcirc-last-sender): * lisp/net/soap-inspect.el (soap-inspect-previous-items) (soap-inspect-current-item): * lisp/net/telnet.el (telnet-remote-echoes) (telnet-interrupt-string, telnet-count): Prefer defvar-local. --- lisp/net/soap-inspect.el | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'lisp/net/soap-inspect.el') diff --git a/lisp/net/soap-inspect.el b/lisp/net/soap-inspect.el index 604e35c07cf..9d4e440719d 100644 --- a/lisp/net/soap-inspect.el +++ b/lisp/net/soap-inspect.el @@ -206,17 +206,13 @@ This is a specialization of `soap-sample-value' for ;;; soap-inspect -(defvar soap-inspect-previous-items nil +(defvar-local soap-inspect-previous-items nil "A stack of previously inspected items in the *soap-inspect* buffer. Used to implement the BACK button.") -(defvar soap-inspect-current-item nil +(defvar-local soap-inspect-current-item nil "The current item being inspected in the *soap-inspect* buffer.") -(progn - (make-variable-buffer-local 'soap-inspect-previous-items) - (make-variable-buffer-local 'soap-inspect-current-item)) - (defun soap-inspect (element) "Inspect a SOAP ELEMENT in the *soap-inspect* buffer. The buffer is populated with information about ELEMENT with links -- cgit v1.2.1