From: Glenn Morris <rgm@gnu.org>
To: emacs-devel@gnu.org
Subject: delayed-warnings-hook versus deferred-action-function
Date: Sat, 04 Feb 2012 19:06:04 -0500 [thread overview]
Message-ID: <n2lioinnyr.fsf@fencepost.gnu.org> (raw)
In 24.1, deferred-action-function has been deprecated in favour of just
using post-command-hook. Fair enough, the former was never really used
for anything.
However, delayed-warnings-hook has been added, and, although it has a
more clearly documented purpose, seems to be functionally equivalent to
the deprecated interface. Eg from command_loop_1:
if (!NILP (Vdelayed_warnings_list))
safe_run_hooks (Qdelayed_warnings_hook);
if (!NILP (Vdeferred_action_list))
safe_run_hooks (Qdeferred_action_function);
Aren't these two changes inconsistent? Why couldn't an element just be
added to post-command-hook to process delayed-warnings?
next reply other threads:[~2012-02-05 0:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-05 0:06 Glenn Morris [this message]
2012-02-05 0:29 ` delayed-warnings-hook versus deferred-action-function Juanma Barranquero
2012-02-05 2:25 ` Glenn Morris
2012-02-08 4:01 ` Glenn Morris
2012-02-08 4:28 ` Juanma Barranquero
2012-02-08 8:32 ` Glenn Morris
2012-02-08 10:02 ` Juanma Barranquero
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=n2lioinnyr.fsf@fencepost.gnu.org \
--to=rgm@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 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.