forked from mirrors/org-mode
org-agenda.el: Only recenter when called interactively
* lisp/org-agenda.el (org-agenda-redo): Only recenter when called interactively. See <https://orgmode.org/list/CAL1eYuKemsB-RTaechv0EYVLFr_t9rNdrjbMh6Jm1dH+aqga7w@mail.gmail.com>
This commit is contained in:
parent
2df7a8fab0
commit
de3ffe99d0
|
@ -7501,7 +7501,7 @@ in the agenda."
|
|||
(and top-hl-filter (org-agenda-filter-top-headline-apply top-hl-filter))
|
||||
(and cols (called-interactively-p 'any) (org-agenda-columns))
|
||||
(org-goto-line line)
|
||||
(recenter window-line)))
|
||||
(when (called-interactively-p 'any) (recenter window-line))))
|
||||
|
||||
(defun org-agenda-redo-all (&optional exhaustive)
|
||||
"Rebuild all agenda views in the current buffer.
|
||||
|
|
Loading…
Reference in New Issue