emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 90450a38742: * lisp/simple.el: Add declare-function for shell-com


From: Juri Linkov
Subject: master 90450a38742: * lisp/simple.el: Add declare-function for shell-command-guess.
Date: Thu, 30 Nov 2023 13:11:56 -0500 (EST)

branch: master
commit 90450a387422f025b7060a3a7977f30ae395bb1d
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]