[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Save-excursion that works with org visibility?
From: |
Kyle Meyer |
Subject: |
Re: [O] Save-excursion that works with org visibility? |
Date: |
Sat, 13 May 2017 21:05:44 -0400 |
Nikolay Kudryavtsev <address@hidden> writes:
> Is there any way to modify node visibility and then revert those
> changes? In particular I'm interested in doing and then reverting
> (org-content).
If you pass a non-nil value for the INVISIBLE-OK argument of
outline-up-heading, I think that your function should work without the
org-content call. Also, it might be worth replacing outline-up-heading
with org-up-heading-safe, which should be faster.
--
Kyle