branch: externals/org
commit 5eb0d860e759dbe6d5986aaa5c02ceb2f2c5e5bd
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>

    Obsolete 'org-show-empty-lines-in-parent'
    
    * lisp/org.el (org-show-empty-lines-in-parent): Mark obsolete.
    * etc/ORG-NEWS (~org-show-empty-lines-in-parent~ is now obsolete):
    Announce the change.
---
 etc/ORG-NEWS | 5 +++++
 lisp/org.el  | 1 +
 2 files changed, 6 insertions(+)

diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index ad344f3f2e..aa8b26dd93 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -653,6 +653,11 @@ constructed again.
 ** Removed or renamed functions and variables
 
 *** Obsolete functions ~org-let~ and ~org-let2~ are removed
+*** ~org-show-empty-lines-in-parent~ is now obsolete
+
+This function is unused in Org code and does not appear to be used in 
third-party code.
+To be removed in future releases.
+
 *** ~org-edit-src-content-indentation~ is renamed to 
~org-src-content-indentation~
 
 The new name highlights that the customization affects more than
diff --git a/lisp/org.el b/lisp/org.el
index ea7f38a7b1..86ae20233a 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6451,6 +6451,7 @@ and subscripts."
 ;; FIXME: This function is unused.
 (defun org-show-empty-lines-in-parent ()
   "Move to the parent and re-show empty lines before visible headlines."
+  (declare (obsolete "no longer used" "9.8"))
   (save-excursion
     (let ((context (if (org-up-heading-safe) 'children 'overview)))
       (org-cycle-show-empty-lines context))))

Reply via email to