forked from mirrors/org-mode
org-agenda.el: Fix display of agenda new time
* lisp/org-agenda.el (org-agenda-show-new-time): Compute the width relatively to the text scale.
This commit is contained in:
parent
2a5f879c81
commit
efbf96389a
|
@ -9558,7 +9558,8 @@ Called with a universal prefix arg, show the priority instead of setting it."
|
|||
(while (not (bobp))
|
||||
(when (equal marker (org-get-at-bol 'org-marker))
|
||||
(remove-text-properties (point-at-bol) (point-at-eol) '(display nil))
|
||||
(org-move-to-column (- (window-width) (length stamp)) t)
|
||||
(org-move-to-column
|
||||
(- (/ (window-width nil t) (window-font-width)) (length stamp)) t)
|
||||
(add-text-properties
|
||||
(1- (point)) (point-at-eol)
|
||||
(list 'display (org-add-props stamp nil
|
||||
|
|
Loading…
Reference in a new issue