From 1131d5b36d17421b78b1a246c22aa85a02256fdf Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 9 Jul 2024 19:16:29 -0400 Subject: [PATCH] refactor(org): remove +org--recenter-after-follow-link-a Since I changed `scroll-conservatively` in f427c8a, this is no longer necessary. Amend: f427c8a30ed6 --- modules/lang/org/config.el | 9 --------- 1 file changed, 9 deletions(-) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index 8473f7c6d..ac5c6237e 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -747,15 +747,6 @@ mutating hooks on exported output, like formatters." :before-while #'org-fix-tags-on-the-fly 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) "Fix variable height faces in eldoc breadcrumbs." :around #'org-format-outline-path