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

    refactor(line): method name change
---
 org-remark-line.el | 4 ++--
 org-remark.el      | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/org-remark-line.el b/org-remark-line.el
index a306946c8d..20100ea936 100644
--- a/org-remark-line.el
+++ b/org-remark-line.el
@@ -141,8 +141,8 @@ Line-highlights are designed to be zero length with the 
start and
 end of overlay being identical."
   nil)
 
-(cl-defmethod org-remark-highlights-housekeep-remark-type (ov
-                                                           (org-remark-type 
(eql 'line)))
+(cl-defmethod org-remark-highlights-housekeep-per-type (ov
+                                                        (org-remark-type (eql 
'line)))
   "Ensure line-highlight OV is always at the beginning of line."
   ;; if `pos-bol' is used to move, you can actually get the highlight to
   ;; always follow the point, keeping the original place unless you
diff --git a/org-remark.el b/org-remark.el
index c05623b144..d395ef9a4d 100644
--- a/org-remark.el
+++ b/org-remark.el
@@ -1590,7 +1590,7 @@ Case 2. The overlay points to no buffer
         (delete-overlay ov))
       ;; Before deleting `org-remark-highlights', add a handler per
       ;; org-remark-type
-      (org-remark-highlights-housekeep-remark-type ov org-remark-type)
+      (org-remark-highlights-housekeep-per-type ov org-remark-type)
       ;; Update `org-remark-highlights' by removing the deleted overlays
       (unless (overlay-buffer ov)
         (setq org-remark-highlights (delete ov org-remark-highlights)))))
@@ -1605,7 +1605,7 @@ kept.
 The current buffer is source buffer."
   t)
 
-(cl-defgeneric org-remark-highlights-housekeep-remark-type (_ov 
_org-remark-type)
+(cl-defgeneric org-remark-highlights-housekeep-per-type (_ov _org-remark-type)
   (ignore))
 
 (defun org-remark-highlights-adjust-positions (overlays _notes-buf)

Reply via email to