(dired-guess-shell-alist-default): Add .mp3 and .ogg.

(dired-guess-shell-alist-user): Doc fix.  (Bug#417).
This commit is contained in:
Glenn Morris 2008-08-23 03:16:58 +00:00
parent 6733e8271a
commit 70ee5ed100
2 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-08-23 Glenn Morris <rgm@gnu.org>
* dired-x.el (dired-guess-shell-alist-default): Add .mp3 and .ogg.
(dired-guess-shell-alist-user): Doc fix. (Bug#417).
2008-08-23 Chong Yidong <cyd@stupidchicken.com>
* subr.el (temp-buffer-show-hook): Doc fix.

View file

@ -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