branch: externals/org-remark commit 3f5ea6777b192d40e24a9830352e0e0f9d8e7062 Author: Noboru Ota <m...@nobiot.com> Commit: Noboru Ota <m...@nobiot.com>
fix(line): window selection is utterly confused --- org-remark-line.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org-remark-line.el b/org-remark-line.el index 51d31c2aea..b6452ef848 100644 --- a/org-remark-line.el +++ b/org-remark-line.el @@ -39,7 +39,7 @@ :inherit highlight)) "Face for the default line highlighter pen.") -(defvar org-remark-line-icon "*") +(defvar org-remark-line-icon " * ") (defvar org-remark-line-heading-title-max-length 40) @@ -106,8 +106,8 @@ marginal area does not exist, its width will be returned as nil." (setq left-margin-width left-width) (setq right-margin-width right-width)) ;;(org-remark-highlights-load) - (set-window-margins window left-margin-width right-margin-width) - (set-window-buffer window (current-buffer) 'keep-margins) + (set-window-margins nil left-margin-width right-margin-width) + (set-window-buffer nil (current-buffer) 'keep-margins) (window-margins))))) (defun org-remark-line-pos-bol (pos)