Mercurial > emacs
changeset 97628:c27cf1a5f2f6
(dired-guess-shell-alist-default): Add .mp3 and .ogg.
(dired-guess-shell-alist-user): Doc fix. (Bug#417).
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 23 Aug 2008 03:16:45 +0000 |
parents | 33d44d4ba1ed |
children | eb867814731d |
files | lisp/dired-x.el |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/dired-x.el Sat Aug 23 03:03:56 2008 +0000 +++ b/lisp/dired-x.el Sat Aug 23 03:16:45 2008 +0000 @@ -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 @@ '("\\.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 @@ 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