help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: font-lock as a single command


From: Christopher Dimech
Subject: Re: font-lock as a single command
Date: Sat, 13 Feb 2021 05:09:59 +0100

Bugger.  I noticed that I had a byte-compiled version .elc and I have
a hunch that emacs was loading that one instead of mp updated .el
file.

> Sent: Saturday, February 13, 2021 at 3:56 PM
> From: "Christopher Dimech" <dimech@gmx.com>
> To: moasenwood@zoho.eu
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: font-lock as a single command
>
> FYor the hook, I only did this
>
> (defvar crucible-mode-hook nil
>   "Hook called when Crucible Mode is enabled.")
>
> > Sent: Saturday, February 13, 2021 at 3:16 PM
> > From: "Emanuel Berg via Users list for the GNU Emacs text editor" 
> > <help-gnu-emacs@gnu.org>
> > To: help-gnu-emacs@gnu.org
> > Subject: Re: font-lock as a single command
> >
> > Christopher Dimech wrote:
> >
> > > I have done. One difficulty is that supinf-enable is
> > > executed as soon as I read the file. Do not know how it is
> > > being enabled automatically after I commented out the line
> > > that said "(add-hook 'crucible-mode-hook #'supinf-enable)".
> >
> > Well, did you examine the hook to see what's there?
> >
> > Hooks are variables, so use C-h v.
> >
> > You can do a hook with this pattern if it makes it more clear.
> > Note the commented-out line, eval the form there to set the
> > hook to zero.
> >
> > (require 'mode-line)
> > ;; (setq conf-space-mode-hook nil)
> > (defun conf-space-mode-hook-f ()
> >   (enable-line-mode) )
> > (add-hook 'conf-space-mode-hook #'conf-space-mode-hook-f)
> >
> >
> > --
> > underground experts united
> > http://user.it.uu.se/~embe8573
> > https://dataswamp.org/~incal
> >
> >
> >
>
>

Attachment: crucible-mode.el
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]