branch: externals/org-remark
commit 7ac04b36be20ef98e1c44a0f75f55b1b0a1478d2
Author: Noboru Ota <m...@nobiot.com>
Commit: Noboru Ota <m...@nobiot.com>

    fix: org-remark-use-org-id #95
---
 org-remark.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/org-remark.el b/org-remark.el
index 7474d34517..8f2784b20b 100644
--- a/org-remark.el
+++ b/org-remark.el
@@ -17,7 +17,7 @@
 
 ;; Author: Noboru Ota <m...@nobiot.com>
 ;; Created: 22 December 2020
-;; Last modified: 23 January 2025
+;; Last modified: 28 January 2025
 
 ;; URL: https://github.com/nobiot/org-remark
 ;; Keywords: org-mode, annotation, note-taking, marginal-notes, wp,
@@ -1059,6 +1059,7 @@ non-nil.  Returns nil otherwise, or when no Org-ID is 
found.
 
 This function assumes the current buffer is the source buffer."
   (and org-remark-use-org-id
+       (derived-mode-p 'org-mode)
        (org-entry-get point "ID" :inherit)))
 
 (define-obsolete-function-alias

Reply via email to