Commit 9533d76b authored by Basil L. Contovounesios's avatar Basil L. Contovounesios Committed by Noam Postavsky

Keep Man sections in natural order (bug#28998)

* lisp/man.el (Man-build-section-alist): Reverse sections.
parent d63c9a96
......@@ -1522,7 +1522,8 @@ The following key bindings are currently in effect in the buffer:
(let ((section (match-string 1)))
(unless (member section Man--sections)
(push section Man--sections)))
(forward-line 1))))
(forward-line 1)))
(setq Man--sections (nreverse Man--sections)))
(defsubst Man-build-references-alist ()
"Build the list of references (in the SEE ALSO section)."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment