]> git.eshelyaron.com Git - emacs.git/commitdiff
Describe dired-do-compress-to in the manual
authorOleh Krehel <ohwoeowho@gmail.com>
Thu, 22 Oct 2015 10:05:59 +0000 (12:05 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Thu, 22 Oct 2015 10:53:21 +0000 (12:53 +0200)
* etc/NEWS: Update.

* lisp/dired-aux.el: Fix typo.

* doc/emacs/dired.texi: Add entry.

doc/emacs/dired.texi
etc/NEWS
lisp/dired-aux.el
lisp/dired.el

index b00c974ef2ceb94577cef16c278377edf68acab1..e7e49445b54f6e7433798bdb3e579281d95152a1 100644 (file)
@@ -722,7 +722,17 @@ suitable guess made using the variables @code{lpr-command} and
 @cindex compressing files (in Dired)
 @item Z
 Compress the specified files (@code{dired-do-compress}).  If the file
-appears to be a compressed file already, uncompress it instead.
+appears to be a compressed file already, uncompress it instead.  Each
+marked file is compressed into its own archive.
+
+@findex dired-do-compress-to
+@kindex c @r{(Dired)}
+@cindex compressing files (in Dired)
+@item c
+Compress the specified files (@code{dired-do-compress-to}) into a
+single archive anywhere on the file system. The compression algorithm
+is determined by the extension of the archive, see
+@code{dired-compress-files-alist}.
 
 @findex epa-dired-do-decrypt
 @kindex :d @r{(Dired)}
index 0cb814b7eea233f5d0e3c9507f796df2cf22fd55..8672f9930c47ef3664127852d8f3451085788718 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -282,6 +282,8 @@ many marked files into a single named archive.  The compression
 command is determined from the new `dired-compress-files-alist'
 variable.
 
++++
+
 \f
 * Editing Changes in Emacs 25.1
 
index 5cece27948f6c3220cc1d304b0dd90f85ae457f9..46d40d2b41e2808a4fb8f8b656799141892dbaed 100644 (file)
@@ -885,7 +885,7 @@ command with a prefix argument (the value does not matter)."
 
 (defvar dired-compress-file-suffixes
   '(
-    ;; "tar -zxf" isn't used because it's not available the on
+    ;; "tar -zxf" isn't used because it's not available on the
     ;; Solaris10 version of tar. Solaris10 becomes obsolete in 2021.
     ;; Same thing on AIX 7.1.
     ("\\.tar\\.gz\\'" "" "gzip -dc %i | tar -xv")
index bc0139f84e51f04d8db527cd42bc718db4676cd2..0fe23497912fe8265007925f750c357975d97bdc 100644 (file)
@@ -3897,7 +3897,7 @@ Ask means pop up a menu for the user to select one of copy, move or link."
 \f
 ;;; Start of automatically extracted autoloads.
 \f
-;;;### (autoloads nil "dired-aux" "dired-aux.el" "b946c1770b736ddc39eeef00c39425e7")
+;;;### (autoloads nil "dired-aux" "dired-aux.el" "ce82e4e2d385923def05089e8aedb519")
 ;;; Generated autoloads from dired-aux.el
 
 (autoload 'dired-diff "dired-aux" "\