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

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

Changing foreground colours for outline-minor-mode


From: uzibalqa
Subject: Changing foreground colours for outline-minor-mode
Date: Mon, 19 Jun 2023 12:20:33 +0000

Having changed outline-regexp to accept ";;; H1" ";;; H2", ... as outline 
headers,
I also want to change the foreground colours at the different heading levels.

(defvar hglevels
  '( (";;; H1" . 1) (";;; H2" . 2) (";;; H3" . 3) (";;; H4" . 4)
     (";;; H5" . 5) (";;; H6" . 6) (";;; H7" . 7) (";;; H8" . 8) ))

(setq outline-heading-alist hglevels)

But I do not see the foreground colours taking effect.

Is the definition for hglevels wrong for setting outline-heading-alist ?

Would I need to enable outline-minor-mode before or after setting 
outline-heading-alist ?





reply via email to

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