]> git.eshelyaron.com Git - emacs.git/commit
New variable shell-command-guess-dired-optional (bug#18132)
authorJuri Linkov <juri@linkov.net>
Fri, 24 May 2024 17:48:42 +0000 (20:48 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 26 May 2024 05:52:16 +0000 (07:52 +0200)
commit51b12009f93cf939f31e14584d845aa512a2980a
treee4b3bdf08fd58a23c10710e43394266920b1736a
parent3597bf6991678fd03a4282995cc5d98492b1b6ad
New variable shell-command-guess-dired-optional (bug#18132)

* doc/emacs/dired.texi (Shell Command Guessing):
Add dired-guess-shell-alist-optional.

* lisp/dired.el (dired-guess-shell-alist-user):
* lisp/dired-aux.el (dired-do-shell-command):
Add dired-guess-shell-alist-optional to docstring.
(dired-guess-shell-alist-default): Move media commands to
'dired-guess-shell-alist-optional'.
(dired-guess-shell-alist-optional): New variable.
(dired-guess-default): Add 'dired-guess-shell-alist-optional'
to the end after 'dired-guess-shell-alist-user'
and 'dired-guess-shell-alist-default'.
(shell-command-guess-functions): Add more options.
(shell-command-guess-dired): Remove function.
(shell-command-guess-dired-user)
(shell-command-guess-dired-default)
(shell-command-guess-dired-optional): New functions.

(cherry picked from commit 74f15ad72d937b309dafecba872bccd1a880181e)
doc/emacs/dired.texi
etc/NEWS
lisp/dired-aux.el
lisp/dired.el