]> code.delx.au - gnu-emacs/commit
Make dired-do-compress work for directories
authorOleh Krehel <ohwoeowho@gmail.com>
Tue, 13 Oct 2015 12:07:10 +0000 (14:07 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Tue, 13 Oct 2015 13:51:47 +0000 (15:51 +0200)
commit787028839bd2a5887f8dcb53da801b6075d2e67e
tree47f6bf83f5272d02f56bd58a3508870d51fefe7d
parent8610bd16e92c1a8639206847bd8c6ea523727cd5
Make dired-do-compress work for directories

* lisp/dired-aux.el (dired-compress-file): When FILE is a directory,
  instead of emitting an error, call "tar -czf FILE.tar.gz FILE".
Also convert the top comment into a docstring.
lisp/dired-aux.el