unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: emacs-devel@gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>
Subject: Re: master 22ae842b34: Add new hooks when enabling and disabling themes
Date: Sat, 21 May 2022 21:25:46 +0800	[thread overview]
Message-ID: <87v8tzrp9h.fsf@yahoo.com> (raw)
In-Reply-To: <20220521125702.D42A9C009A8@vcs2.savannah.gnu.org> (Lars Ingebrigtsen's message of "Sat, 21 May 2022 08:57:02 -0400 (EDT)")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> +---
> +*** New hooks 'enable-theme-hook' and 'disable-theme-hook'.
> +These are run after enabling and disabling a theme, respectively.
> +
> +---
> +*** Themes can now be made obsolete.
> +Using 'make-obsolete' on a theme is now supported.  This will make
> +'load-theme' issue a warning when loading the theme.

> +  "Atypical hook run after a theme has been enabled.

We name abnormal hooks `foo-functions', so shouldn't this be
`enable-theme-functions' and `disable-theme-functions'?



       reply	other threads:[~2022-05-21 13:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <165313782247.24362.11835798888541393103@vcs2.savannah.gnu.org>
     [not found] ` <20220521125702.D42A9C009A8@vcs2.savannah.gnu.org>
2022-05-21 13:25   ` Po Lu [this message]
2022-05-21 13:39     ` master 22ae842b34: Add new hooks when enabling and disabling themes Lars Ingebrigtsen

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=87v8tzrp9h.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.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).