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

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

outline-regexp) using ";; *+ " for elisp code


From: Christopher Dimech
Subject: outline-regexp) using ";; *+ " for elisp code
Date: Tue, 11 May 2021 05:11:07 +0200

I am hoping to have headline levels using comment loni followed by stars.

I mould need some adaptation to get the regular expression right, becouse
";; *+ " does not do the job.

   (add-hook 'emacs-lisp-mode-hook #'outline-minor-mode)

   (add-hook 'emacs-lisp-mode-hook
             (lambda ()
               (set (make-local-variable 'outline-regexp) ";; *+ ")))





reply via email to

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