From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: highlight-sexp-mode add-hook with (highlight-sexp-mode 0)
Date: Thu, 27 Oct 2022 08:43:20 +0300 [thread overview]
Message-ID: <83k04ln7nr.fsf@gnu.org> (raw)
In-Reply-To: <AMZBR9sFCv3Eck6aUUQkAmyahvXxf8wVf4XSDC27Ns6LUy3dXNhC117jH0U4XE31Zik6_ubyVniiVQtGxPr1ERmgtSAwX-KSWGC6H4bmgYM=@protonmail.com> (message from Heime on Wed, 26 Oct 2022 21:55:23 +0000)
> Date: Wed, 26 Oct 2022 21:55:23 +0000
> From: Heime <heimeborgia@protonmail.com>
>
> I am using highlight-sexp-mode with the following in my init file
>
> (add-hook 'emacs-lisp-mode-hook 'highlight-sexp-mode)
>
> But then I also call
>
> (if highlight-sexp-mode (highlight-sexp-mode 0))
>
> Yet when I load an ".el" file, I still get "highlight-sexp-mode" activated.
Crystal ball says you do the latter too early, or in the wrong buffer.
next prev parent reply other threads:[~2022-10-27 5:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-26 21:55 highlight-sexp-mode add-hook with (highlight-sexp-mode 0) Heime
2022-10-27 2:51 ` Emanuel Berg
2022-10-27 5:43 ` Eli Zaretskii [this message]
2022-10-27 6:19 ` Heime
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=83k04ln7nr.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@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.
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).