branch: externals/org-remark commit e904b53b2c06e152b37f8984ae03cf1ce13228c9 Author: Noboru Ota <m...@nobiot.com> Commit: Noboru Ota <m...@nobiot.com>
refactor: silence compilier warning --- org-remark.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/org-remark.el b/org-remark.el index a333651536..ed3e37de3b 100644 --- a/org-remark.el +++ b/org-remark.el @@ -705,7 +705,7 @@ arguments as follows: This is an automatic deletion. Delete the entry without asking the user when there is no notes in the entry. If there are any notes, remove the entry's properties only. This is the same - behavior as passing a single universal-argument to + behavior as passing a single `universal-argument' to function `org-remark-delete'. If you have done so by error, you could still `undo' it in the @@ -739,7 +739,7 @@ If there are no notes, this function will not prompt for confirmation and will remove the highlight and deletes the entry in the marginal notes buffer. -This is the same behavior as passing a single universal-argument +This is the same behavior as passing a single `universal-argument' to function `org-remark-remove'. Optionally, you can let this command automatically delete the @@ -1119,7 +1119,7 @@ buffer for automatic sync." (cl-defgeneric org-remark-highlight-headline-text (_ov _org-remark-type)) -(cl-defmethod org-remark-highlight-headline-text (ov (org-remark-type (eql nil))) +(cl-defmethod org-remark-highlight-headline-text (ov (_org-remark-type (eql nil))) "Assume it is called within `org-with-wide-buffer' of the source." (replace-regexp-in-string "\n" " " @@ -1149,7 +1149,7 @@ HIGHLIGHT is an overlay from the SOURCE-BUF. Assume the current buffer is NOTES-BUF and point is placed on the beginning of source-headline, which should be one level up." ;; Add org-remark-link with updated line-num as a property - (let (title beg end props id text filename link orgid org-remark-type) + (let (title beg end props id text filename link orgid org-remark-type other-props) (with-current-buffer source-buf (setq title (org-remark-highlight-get-title) beg (overlay-start highlight)