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

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

bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycl


From: Juri Linkov
Subject: bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line
Date: Tue, 21 Sep 2021 20:53:44 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> Then you can customize it to 'bolp'.
>
> I just tried it out, and it looks good. The only thing I wonder is if
> this should apply to both outline-minor-mode and outline-mode?

You are right, this problem exists only for outline-minor-mode,
so it should be rather:

    :filter ,(lambda (cmd)
               (when (and (outline-on-heading-p)
                          (or (not outline-minor-mode)
                              (not (functionp outline-minor-mode-cycle-filter))
                              (funcall outline-minor-mode-cycle-filter)))
                 cmd))





reply via email to

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