[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BUG] org-get-entry-text-content return the title of the next org-entry
From: |
SyedZuhair |
Subject: |
[BUG] org-get-entry-text-content return the title of the next org-entry if current entry has no body. |
Date: |
Sat, 02 Dec 2023 17:04:21 -0500 |
Steps to reproduce:
1. define this function:
(defun test-get-entry-text-content ()
(interactive)
(let ((body (org-get-entry-text-content)))
(prin1 body)
)
)
2. Open an empty org file.
3. Write the entries
* Entry1
* Entry2
4. Move cursor to "* Entry 1" line or to empty line after Entry1.
5. M-x test-get-entry-text-content
6. Result is
"* Entry2"
While it suppose to be empty or empty line.
Thank you very much.
Emacs : GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38,
cairo version 1.17.8)
Package: Org mode version 9.6.6 (release_9.6.6 @
/usr/share/emacs/29.1/lisp/org/)
- [BUG] org-get-entry-text-content return the title of the next org-entry if current entry has no body.,
SyedZuhair <=