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

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

[elpa] externals/org-remark 2c30e01e22 2/2: Merge pull request #88 from


From: ELPA Syncer
Subject: [elpa] externals/org-remark 2c30e01e22 2/2: Merge pull request #88 from krisbalintona/fix-chatty-no-highlights-logic
Date: Fri, 1 Nov 2024 19:05:48 -0400 (EDT)

branch: externals/org-remark
commit 2c30e01e222848bd1650819a48ac389f9e3dad16
Merge: d37ec06547 3079a3133f
Author: nobiot <me@nobiot.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #88 from krisbalintona/fix-chatty-no-highlights-logic
    
    fix demoted error from implementation of `org-remark-report-no-highlights`
---
 org-remark.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/org-remark.el b/org-remark.el
index 819d86485e..637baa811a 100644
--- a/org-remark.el
+++ b/org-remark.el
@@ -1618,9 +1618,10 @@ highlight is a property list in the following properties:
         (org-with-wide-buffer
          (let ((heading (org-find-property
                          org-remark-prop-source-file source-file-name)))
-           (if (and (not heading) org-remark-report-no-highlights)
-               (message "No highlights or annotations found for %s."
-                        source-file-name)
+           (if (not heading)
+               (when org-remark-report-no-highlights
+                 (message "No highlights or annotations found for %s."
+                          source-file-name))
              (goto-char heading)
              ;; Narrow to only subtree for a single file.  `org-find-property'
              ;; ensures that it is the beginning of a headline



reply via email to

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