]> git.eshelyaron.com Git - emacs.git/commit
* lisp/outline.el: Keep point on the same outline after revert.
authorJuri Linkov <juri@linkov.net>
Mon, 17 Jun 2024 06:32:45 +0000 (09:32 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 19 Jun 2024 08:35:49 +0000 (10:35 +0200)
commit38ac05644a35e65fcc605f94ff58c33e02da912f
tree7f04f4b1029afd4fec614165fcbf9943805c7408
parent9d9a6e3eac5a25806301ceeb49eb2380a433005e
* lisp/outline.el: Keep point on the same outline after revert.

(outline-hidden-headings-paths): Return the current path as well.
(outline-hidden-headings-restore-paths): Move point to the path
that was current before reverting the buffer (bug#71466).
(outline-revert-buffer-restore-visibility):
Handle both values returned from outline-hidden-headings-paths.

(cherry picked from commit 7be66d8223e49489b2803c0ff027f1824d774441)
lisp/outline.el