branch: externals/jarchive
commit 82ff9f791f2b765756c43ba627229ca788394f3b
Author: dannyfreeman <[email protected]>
Commit: dannyfreeman <[email protected]>
Remove unnecessary local variable
This was useful in a previous iteration of this package, but no longer
---
jarchive.el | 4 ----
1 file changed, 4 deletions(-)
diff --git a/jarchive.el b/jarchive.el
index 51d3f3063f..64a1360ef9 100644
--- a/jarchive.el
+++ b/jarchive.el
@@ -29,9 +29,6 @@ Delimited by `!' or `::'")
(string-match jarchive--hybrid-path-regex hybrid-filename)
(substring hybrid-filename (match-beginning 2) (match-end 2)))
-(defvar-local jarchive--managed-buffer nil ;; consider making a minor mode
- "This value is t when a buffer is managed by jarchive.")
-
(defmacro jarchive--inhibit (op &rest body)
"Run BODY with `jarchive--file-name-handler' inhibited for OP."
`(let ((inhibit-file-name-handlers (cons (quote jarchive--file-name-handler)
@@ -54,7 +51,6 @@ provided when calling OP."
(buffer-file (concat jar ":" file-in-jar)))
(or (find-buffer-visiting buffer-file)
(with-current-buffer (create-file-buffer buffer-file)
- (setq-local jarchive--managed-buffer t)
(archive-zip-extract jar file-in-jar)
(goto-char 0)
(set-visited-file-name buffer-file)