mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 20:37:51 +00:00
org-agenda.el: Speedup redisplay of an agenda item after it has been modified
* org-agenda.el (org-agenda-change-all-lines): Speedup refresh of a single line of agenda by narrowing the agenda buffer to just that line before calling `org-agenda-finalize'.
This commit is contained in:
parent
d43f7eb475
commit
0be5a4e0ff
|
@ -8033,9 +8033,11 @@ If FORCE-TAGS is non nil, the car of it returns the new tags."
|
|||
undone-face done-face))))
|
||||
(org-agenda-highlight-todo 'line)
|
||||
(beginning-of-line 1))
|
||||
(t (error "Line update did not work"))))
|
||||
(beginning-of-line 0)))
|
||||
(org-agenda-finalize)))
|
||||
(t (error "Line update did not work")))
|
||||
(save-restriction
|
||||
(narrow-to-region (point-at-bol) (point-at-eol))
|
||||
(org-agenda-finalize)))
|
||||
(beginning-of-line 0)))))
|
||||
|
||||
(defun org-agenda-align-tags (&optional line)
|
||||
"Align all tags in agenda items to `org-agenda-tags-column'."
|
||||
|
|
Loading…
Reference in a new issue