aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-22 07:59:39 +0000
committerRichard M. Stallman1994-05-22 07:59:39 +0000
commit555235e68725fef84e088a67a9e387ba48d46c72 (patch)
tree8e3f2933997499bcc40414540c280b30a547d188
parentede9c6a85590526318e5ab5eb63b8d9c9a3cbf70 (diff)
downloademacs-555235e68725fef84e088a67a9e387ba48d46c72.tar.gz
emacs-555235e68725fef84e088a67a9e387ba48d46c72.zip
(jka-compr-op-table, jka-compr-file-name-handler-entry): Move defvars.
-rw-r--r--lisp/jka-compr.el18
1 files changed, 8 insertions, 10 deletions
diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el
index 29c2adf5bc6..946c0572acb 100644
--- a/lisp/jka-compr.el
+++ b/lisp/jka-compr.el
@@ -171,6 +171,14 @@ a program adds the overhead of starting a shell each time the program is
171invoked.") 171invoked.")
172 172
173 173
174(defvar jka-compr-file-name-handler-entry
175 nil
176 "The entry in `file-name-handler-alist' used by the jka-compr I/O functions.")
177
178(defvar jka-compr-op-table
179 (make-vector 127 0)
180 "Hash table of operations supported by jka-compr.")
181
174;;; Functions for accessing the return value of jka-get-compression-info 182;;; Functions for accessing the return value of jka-get-compression-info
175(defun jka-compr-info-regexp (info) (aref info 0)) 183(defun jka-compr-info-regexp (info) (aref info 0))
176(defun jka-compr-info-compress-message (info) (aref info 1)) 184(defun jka-compr-info-compress-message (info) (aref info 1))
@@ -656,11 +664,6 @@ There should be no more than seven characters after the final `/'")
656 t)) 664 t))
657 665
658 666
659(defvar jka-compr-file-name-handler-entry
660 nil
661 "The entry in `file-name-handler-alist' used by the jka-compr I/O functions.")
662
663
664(defun jka-compr-handler (operation &rest args) 667(defun jka-compr-handler (operation &rest args)
665 668
666 (let ((jka-op (intern-soft (symbol-name operation) jka-compr-op-table)) 669 (let ((jka-op (intern-soft (symbol-name operation) jka-compr-op-table))
@@ -692,11 +695,6 @@ There should be no more than seven characters after the final `/'")
692 (inhibit-file-name-operation operation)) 695 (inhibit-file-name-operation operation))
693 (apply operation args))) 696 (apply operation args)))
694 697
695
696(defvar jka-compr-op-table
697 (make-vector 127 0)
698 "Hash table of operations supported by jka-compr.")
699
700 698
701(defun jka-compr-intern-operation (op) 699(defun jka-compr-intern-operation (op)
702 (let ((opsym (intern (symbol-name op) jka-compr-op-table)) 700 (let ((opsym (intern (symbol-name op) jka-compr-op-table))