summaryrefslogtreecommitdiff
path: root/lisp/jka-compr.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/jka-compr.el')
-rw-r--r--lisp/jka-compr.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el
index 5664a890cb1..7266dc9ec80 100644
--- a/lisp/jka-compr.el
+++ b/lisp/jka-compr.el
@@ -109,8 +109,7 @@ data appears to be compressed already.")
(put 'jka-compr-really-do-compress 'permanent-local t)
-(put 'compression-error 'error-conditions '(compression-error file-error error))
-
+(define-error 'compression-error nil 'file-error)
(defvar jka-compr-acceptable-retval-list '(0 2 141))