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

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

[elpa] externals/org-remark 3c25682d1d 14/67: fix: typo in regression is


From: ELPA Syncer
Subject: [elpa] externals/org-remark 3c25682d1d 14/67: fix: typo in regression issue
Date: Sat, 22 Jul 2023 06:59:00 -0400 (EDT)

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

    fix: typo in regression issue
---
 org-remark.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/org-remark.el b/org-remark.el
index f7d279e260..6a9b5a8a6c 100644
--- a/org-remark.el
+++ b/org-remark.el
@@ -907,7 +907,7 @@ Assume the current buffer is NOTES-BUF."
             (org-set-property org-remark-prop-source-file source-name)
             (org-back-to-heading) (point))))))
 
-(defun org-remark-highlight-add-or-update-highlight-headline (hightlight 
source-buf notes-buf)
+(defun org-remark-highlight-add-or-update-highlight-headline (highlight 
source-buf notes-buf)
   "Add a new HIGHLIGHT headlne to the NOTES-BUF or update it.
 Return notes-props as a property list.
 
@@ -924,8 +924,9 @@ beginning of source-headline, which should be one level up."
             props (overlay-properties highlight)
             id (plist-get props 'org-remark-id)
             text (org-with-wide-buffer
-                  (replace-regexp-in-string "\n" " " text)
-                  (buffer-substring-no-properties beg end))
+                  (replace-regexp-in-string
+                   "\n" " "
+                   (buffer-substring-no-properties beg end)))
             filename (org-remark-source-get-file-name
                       (org-remark-source-find-file-name))
             line-num (org-current-line beg)



reply via email to

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