emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org-remark 1426ccf3b0 6/8: fix: case for highlight-get-


From: ELPA Syncer
Subject: [elpa] externals/org-remark 1426ccf3b0 6/8: fix: case for highlight-get-text empty notes at the bottom of buffer
Date: Sat, 24 Dec 2022 02:57:58 -0500 (EST)

branch: externals/org-remark
commit 1426ccf3b04004b9eccffe64f7d09a161fe913a6
Author: Noboru Ota <me@nobiot.com>
Commit: Noboru Ota <me@nobiot.com>

    fix: case for highlight-get-text empty notes at the bottom of buffer
---
 org-remark.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/org-remark.el b/org-remark.el
index 6df24f7ffa..6680b4836b 100644
--- a/org-remark.el
+++ b/org-remark.el
@@ -749,7 +749,8 @@ non-nil.  Returns nil otherwise, or when no Org-ID is 
found."
            (if
                ;; handle empty annotation
                ;; (org-end-of-meta-data :full) took us to next org heading):
-               (looking-at org-heading-regexp)
+               (or (looking-at org-heading-regexp)
+                   (eobp)) ;; end of buffer
                "[empty entry]"
              (buffer-substring-no-properties
               (point)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]