From 90450a387422f025b7060a3a7977f30ae395bb1d Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Thu, 30 Nov 2023 20:11:36 +0200 Subject: [PATCH] * lisp/simple.el: Add declare-function for shell-command-guess. * lisp/dired-aux.el (shell-command-guess): Remove unneeded autoload cookie. --- lisp/dired-aux.el | 1 - lisp/simple.el | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 94ca5ddbcc3..1a17ed749e8 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -1334,7 +1334,6 @@ such as added new commands." :group 'dired :version "30.1") -;;;###autoload (defun shell-command-guess (files) "Return a list of shell commands, appropriate for FILES. The list is populated by calling functions from diff --git a/lisp/simple.el b/lisp/simple.el index 35bce6ab4b8..0fbab6cfa89 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -4274,6 +4274,7 @@ is run interactively. A value of nil means that output to stderr and stdout will be intermixed in the output stream.") (declare-function dired-get-filename "dired" (&optional localp no-error-if-not-filep)) +(declare-function shell-command-guess "dired-aux" (files)) (defun minibuffer-default-add-shell-commands () "Return a list of all commands associated with the current file. -- 2.39.2