[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: highlight-sexp-mode add-hook with (highlight-sexp-mode 0)
From: |
Eli Zaretskii |
Subject: |
Re: highlight-sexp-mode add-hook with (highlight-sexp-mode 0) |
Date: |
Thu, 27 Oct 2022 08:43:20 +0300 |
> 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.