refactor(org): remove +org--recenter-after-follow-link-a

Since I changed `scroll-conservatively` in f427c8a, this is no longer
necessary.

Amend: f427c8a30e
This commit is contained in:
Henrik Lissner 2024-07-09 19:16:29 -04:00
parent 944eef90ec
commit 1131d5b36d
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -747,15 +747,6 @@ mutating hooks on exported output, like formatters."
:before-while #'org-fix-tags-on-the-fly :before-while #'org-fix-tags-on-the-fly
org-auto-align-tags) org-auto-align-tags)
(defadvice! +org--recenter-after-follow-link-a (&rest _args)
"Recenter after following a link, but only internal or file links."
:after '(org-footnote-action
org-follow-timestamp-link
org-link-open-as-file
org-link-search)
(when (get-buffer-window)
(recenter)))
(defadvice! +org--strip-properties-from-outline-a (fn &rest args) (defadvice! +org--strip-properties-from-outline-a (fn &rest args)
"Fix variable height faces in eldoc breadcrumbs." "Fix variable height faces in eldoc breadcrumbs."
:around #'org-format-outline-path :around #'org-format-outline-path