From: Juri Linkov <juri@linkov.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: arash@gnu.org, emacs-devel@gnu.org
Subject: Re: master b8d4242e8bd 1/2: New user option 'shell-command-guess-functions' (bug#18132)
Date: Thu, 30 Nov 2023 20:12:00 +0200 [thread overview]
Message-ID: <86bkbbrtzj.fsf@mail.linkov.net> (raw)
In-Reply-To: <83leafazxp.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 30 Nov 2023 19:55:30 +0200")
>> In end of data:
>> simple.el:4286:35: Warning: the function `shell-command-guess' is not known to be defined.
>>
>> I expected that ;;;###autoload will add it to the global loaddefs.el,
>> and only ;;;###dired-autoload will add it to dired-loaddefs.el.
>> But actually ;;;###autoload adds it to dired-loaddefs.el.
>>
>> I don't know if there is a way to override this only for one autoload:
>>
>> ;; generated-autoload-file: "dired-loaddefs.el"
>>
>> Something like using ;;;###global-autoload?
>
> Autoloading is the wrong tool for preloaded stuff. Did you try
> declare-function?
Ok, now added declare-function that removed this warning.
prev parent reply other threads:[~2023-11-30 18:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <170110663333.10282.3772392230229139487@vcs2.savannah.gnu.org>
[not found] ` <20231127173714.78D41C36D10@vcs2.savannah.gnu.org>
2023-11-29 19:14 ` master b8d4242e8bd 1/2: New user option 'shell-command-guess-functions' (bug#18132) Arash Esbati
2023-11-30 6:08 ` Eli Zaretskii
2023-11-30 17:22 ` Juri Linkov
2023-11-30 17:55 ` Eli Zaretskii
2023-11-30 18:12 ` Juri Linkov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86bkbbrtzj.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=arash@gnu.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).