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

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

Re: outline-heading-alist for elisp using ";; * "


From: Philip Kaludercic
Subject: Re: outline-heading-alist for elisp using ";; * "
Date: Mon, 10 May 2021 21:08:16 +0000

Christopher Dimech <dimech@gmx.com> writes:

> I want to use ";; * " and so forth for subheadings but using the following 
> code had
> no effect.
>
>
>  (setq hstar
>        '( (";; * " . 1)
>           (";; ** " . 2)
>           (";; *** " . 3)
>           (";; **** " . 4)
>           (";; ***** " . 5)
>           (";; ****** " . 6)
>           (";; ******* " . 7)
>           (";; ******** " . 8) ))

Why not use outline-regexp? ";; \\*+" should do the same job, if I'm not
mistaken.

>    ( (emacs-lisp-mode . (
>                (outline-heading-alist . hstar) )))
>

Where are you evaluating this? In .dir-locals.el? If so, what is the
local value of outline-heading-alist in an emacs-lisp buffer?




-- 
        Philip K.



reply via email to

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