summaryrefslogtreecommitdiff
path: root/lisp/dired-x.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-08-23 03:16:58 +0000
committerGlenn Morris <rgm@gnu.org>2008-08-23 03:16:58 +0000
commit70ee5ed100ed2c7f3247330ee73bdc5677607911 (patch)
treeb2b0a658a9c0c8acc37897c088aa5888aad4a98d /lisp/dired-x.el
parent6733e8271acee7cc9d5aadbe8c424a0c73885e7a (diff)
downloademacs-70ee5ed100ed2c7f3247330ee73bdc5677607911.tar.gz
(dired-guess-shell-alist-default): Add .mp3 and .ogg.
(dired-guess-shell-alist-user): Doc fix. (Bug#417).
Diffstat (limited to 'lisp/dired-x.el')
-rw-r--r--lisp/dired-x.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index a23b90118b7..5495d649132 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -1,7 +1,7 @@
;;; dired-x.el --- extra Dired functionality -*-byte-compile-dynamic: t;-*-
-;; Copyright (C) 1993, 1994, 1997, 2001, 2002, 2003, 2004,
-;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 1993, 1994, 1997, 2001, 2002, 2003, 2004, 2005, 2006,
+;; 2007, 2008 Free Software Foundation, Inc.
;; Author: Sebastian Kremer <sk@thp.uni-koeln.de>
;; Lawrence R. Dodd <dodd@roebling.poly.edu>
@@ -1062,6 +1062,8 @@ dired."
'("\\.dvi$" "xdvi" "dvips") ; preview and printing
'("\\.au$" "play") ; play Sun audiofiles
'("\\.mpe?g$\\|\\.avi$" "xine -p")
+ '("\\.ogg$" "ogg123")
+ '("\\.mp3$" "mpg123")
'("\\.wav$" "play")
'("\\.uu$" "uudecode") ; for uudecoded files
'("\\.hqx$" "mcvert")
@@ -1121,6 +1123,9 @@ to a string. If several COMMANDs are given, the first one will be the default
and the rest will be added temporarily to the history and can be retrieved
with \\[previous-history-element] (M-p) .
+The variable `dired-guess-shell-case-fold-search' controls whether
+REGEXP is matched case-sensitively.
+
You can set this variable in your ~/.emacs. For example, to add rules for
`.foo' and `.bar' files, write