From 0e5671606ff576f8bfede04d8dfff101b782a8cb Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 19 May 1994 22:42:22 +0000 Subject: [PATCH] (info-insert-file-contents): Avoid conflict with jka-compr. --- lisp/info.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lisp/info.el b/lisp/info.el index cb517c9bb3a..be58d065049 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -129,6 +129,12 @@ Do the right thing if the file has been compressed or zipped." (setq tail (cdr tail))) (setq fullname (concat filename (car (car tail))) decoder (cdr (car tail))) + ;; check for conflict with jka-compr + (if (and (featurep 'jka-compr) + (jka-compr-installed-p) + (jka-compr-get-compression-info (concat filename + (car (car tail))))) + (setq decoder nil)) (or tail (error "Can't find %s or any compressed version of it!" filename))) (insert-file-contents fullname visit) -- 2.39.5