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

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

with-eval-after-load with sh-mode


From: lisa-asket
Subject: with-eval-after-load with sh-mode
Date: Fri, 2 Jul 2021 20:30:41 +0200 (CEST)

>From: Stefan Monnier via Users list for the GNU Emacs text editor 
><help-gnu-emacs@gnu.org>
>To: help-gnu-emacs@gnu.org
>Subject: Re: with-eval-after-load with sh-mode
>Date: 02/07/2021 18:57:41 Europe/Paris

>> You sometimes need to `require' it anyway, e.g. try setting
>> the face `sh-escaped-newline' to something.

>Definitely not needed: I set all my faces with `custom-set-faces` in my
>init file and it works regardless if the faces are already defined

>or not.



Have removed (require 'sh-script) and things still work correctly.



One problem is that the headings one can use have to start with *, **, ***.  
Which screws up my scripts.

Have changed headings so I can use



## h1 Heading Level 1

## h2 Heading Level 2

## h3 Heading Level 3



Am also seeing that the different levels are not being highlighted with a 
different colour. 










reply via email to

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