emacs-devel
[Top][All Lists]
Advanced

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

[PATCH] add outline-regexp for woman.el


From: Yilkal Argaw
Subject: [PATCH] add outline-regexp for woman.el
Date: Tue, 20 Dec 2022 05:28:05 +0000

This is a simple patch to add outline-regexp in woman.el to enable folding using outline-minor-mode.

diff --git a/lisp/woman.el b/lisp/woman.el
index 2b456fed3c..b2d73b71f3 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -4576,6 +4576,7 @@ woman-bookmark-jump
 
 (put 'woman-bookmark-jump 'bookmark-handler-type "WoMan")
 
+(setq-local outline-regexp "^[A-Z]+")
 (defvar woman-version "0.551 (beta)" "WoMan version information.")
 (make-obsolete-variable 'woman-version 'emacs-version "28.1")
 

reply via email to

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