]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/simple.el: Add declare-function for shell-command-guess.
authorJuri Linkov <juri@linkov.net>
Thu, 30 Nov 2023 18:11:36 +0000 (20:11 +0200)
committerJuri Linkov <juri@linkov.net>
Thu, 30 Nov 2023 18:11:36 +0000 (20:11 +0200)
* lisp/dired-aux.el (shell-command-guess): Remove unneeded autoload cookie.

lisp/dired-aux.el
lisp/simple.el

index 94ca5ddbcc3c0706e93b10eded71a287956d5bf0..1a17ed749e8c5ab3c362c21a1f6a6372a172ea62 100644 (file)
@@ -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
index 35bce6ab4b8f888a941a9b631ff2bac633bbfc16..0fbab6cfa890fa16e9469c03b24b621240cf7251 100644 (file)
@@ -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.