]> git.eshelyaron.com Git - emacs.git/commit
Make 'emacs-news-cycle-tag' work at all levels
authorRobert Pluim <rpluim@gmail.com>
Tue, 21 Feb 2023 14:20:56 +0000 (15:20 +0100)
committerRobert Pluim <rpluim@gmail.com>
Tue, 21 Feb 2023 14:25:36 +0000 (15:25 +0100)
commit1976ca1634d8c53a980299cb08778830cc7d90cf
treeb9fbfde22728c0f68f8d4888eb67e9f6e81b8d85
parent16ca258b1fcf46ecf4e9d04ce950ed286984fad1
Make 'emacs-news-cycle-tag' work at all levels

* lisp/textmodes/emacs-news-mode.el (emacs-news-cycle-tag): Search for
a heading starting with 2 or more '*' rather than exactly 3.
* test/lisp/textmodes/emacs-news-mode-resources/cycle-tag.erts
(Point-Char): Add tests for 2 and 4 '*' levels.
lisp/textmodes/emacs-news-mode.el
test/lisp/textmodes/emacs-news-mode-resources/cycle-tag.erts