From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 69391@debbugs.gnu.org, Martin Marshall <law@martinmarshall.com>
Subject: bug#69391: 30.0.50; `enable-command' doesn't permanently enable `help-fns-edit-variable'
Date: Mon, 26 Feb 2024 09:40:10 -0500 [thread overview]
Message-ID: <jwv34tfgume.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <86wmqruxgz.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 26 Feb 2024 16:11:24 +0200")
> Stefan, is there a better way than convert the form we have in
> help-fns.el:
>
> (put 'help-fns-edit-variable 'disabled t)
>
> into an autoload comment, like we do, e.g., with
> dired-find-alternate-file?
If we want to allow third party packages to use that `disabled`
functionality, maybe we should instead change the code that inserts
the
(put 'help-fns-edit-variable 'disabled nil)
E.g. we could try to make it insert
(with-eval-after-load 'help-fns
(put 'help-fns-edit-variable 'disabled nil))
tho I suspect this will happen too late for autoloaded functions.
Or we could make it do
(put 'help-fns-edit-variable 'disabled-override t)
and change the code that checks `disabled` accordingly.
Stefan
prev parent reply other threads:[~2024-02-26 14:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-25 17:44 bug#69391: 30.0.50; `enable-command' doesn't permanently enable `help-fns-edit-variable' Martin Marshall
2024-02-26 14:11 ` Eli Zaretskii
2024-02-26 14:40 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv34tfgume.fsf-monnier+emacs@gnu.org \
--to=bug-gnu-emacs@gnu.org \
--cc=69391@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=law@martinmarshall.com \
--cc=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.