Replace fundamental-mode-hook with change-major-mode-after-body-hook.
[bpt/emacs.git] / lisp / jka-compr.el
index 37c9d40..cd76988 100644 (file)
@@ -309,6 +309,7 @@ There should be no more than seven characters after the final `/'."
 
          (and
           compress-message
+          jka-compr-verbose
           (message "%s %s..." compress-message base-name))
 
          (jka-compr-run-real-handler 'write-region
@@ -341,6 +342,7 @@ There should be no more than seven characters after the final `/'."
 
          (and
           compress-message
+          jka-compr-verbose
           (message "%s %s...done" compress-message base-name))
 
          (cond
@@ -404,6 +406,7 @@ There should be no more than seven characters after the final `/'."
 
               (and
                uncompress-message
+              jka-compr-verbose
                (message "%s %s..." uncompress-message base-name))
 
               (condition-case error-code
@@ -479,6 +482,7 @@ There should be no more than seven characters after the final `/'."
 
         (and
          uncompress-message
+        jka-compr-verbose
          (message "%s %s...done" uncompress-message base-name))
 
         (and
@@ -534,6 +538,7 @@ There should be no more than seven characters after the final `/'."
 
                (and
                 uncompress-message
+                jka-compr-verbose
                 (message "%s %s..." uncompress-message base-name))
 
                ;; Here we must read the output of uncompress program
@@ -554,6 +559,7 @@ There should be no more than seven characters after the final `/'."
 
                  (and
                   uncompress-message
+                  jka-compr-verbose
                   (message "%s %s...done" uncompress-message base-name))
 
                  (write-region