unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Yilkal Argaw <yilkalargawworkneh@gmail.com>
To: Emacs Devel <emacs-devel@gnu.org>
Subject: [PATCH] add outline-regexp for woman.el
Date: Tue, 20 Dec 2022 05:28:05 +0000	[thread overview]
Message-ID: <CAJddU=r3HXxMonyYSwkaS_N=hAqqUDqMyHQnSr840Asha7Bakw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]

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")

[-- Attachment #2: Type: text/html, Size: 664 bytes --]

             reply	other threads:[~2022-12-20  5:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-20  5:28 Yilkal Argaw [this message]
2022-12-20  8:37 ` [PATCH] add outline-regexp for woman.el Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJddU=r3HXxMonyYSwkaS_N=hAqqUDqMyHQnSr840Asha7Bakw@mail.gmail.com' \
    --to=yilkalargawworkneh@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).