diff options
author | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2011-07-11 15:46:46 +0200 |
---|---|---|
committer | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2011-07-11 15:46:46 +0200 |
commit | eea84fe52e76f84b02df004e31c638a3fb2ab6e6 (patch) | |
tree | fbe569708e76c0d5d2ff394ad25bae047e2dbefd /lisp/dired-x.el | |
parent | 8a93078b2442ac562f37203b27b8e7735fb4263c (diff) | |
download | emacs-eea84fe52e76f84b02df004e31c638a3fb2ab6e6.tar.gz emacs-eea84fe52e76f84b02df004e31c638a3fb2ab6e6.tar.bz2 emacs-eea84fe52e76f84b02df004e31c638a3fb2ab6e6.zip |
(dired-guess-shell-alist-user): Clarify the example a bit
Fixes: debbugs:2030
Diffstat (limited to 'lisp/dired-x.el')
-rw-r--r-- | lisp/dired-x.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el index e1a38847fa5..a341e4f07a1 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el @@ -1056,12 +1056,11 @@ You can set this variable in your ~/.emacs. For example, to add rules for `.foo' and `.bar' files, write \(setq dired-guess-shell-alist-user - (list (list \"\\\\.foo\\\\'\" \"FOO-COMMAND\");; fixed rule - ;; possibly more rules ... - (list \"\\\\.bar\\\\'\";; rule with condition test - '(if condition - \"BAR-COMMAND-1\" - \"BAR-COMMAND-2\")))\)" + '((\"\\\\.foo\\\\'\" \"FOO-COMMAND\") + (\"\\\\.bar\\\\'\" + (if condition + \"BAR-COMMAND-1\" + \"BAR-COMMAND-2\"))))" :group 'dired-x :type '(alist :key-type regexp :value-type (repeat sexp))) |