branch: externals/valign
commit e94782a0843237992264764cf51bef6e1dbca64f
Author: Yuan Fu <[email protected]>
Commit: Yuan Fu <[email protected]>
Remove org-agenda-finalize-hook
It's a hook but were treated as a function. I must have messed it up
when changing hooks to advices.
* valign.el (valign-remove-advice, valign-mode): Remove.
---
valign.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/valign.el b/valign.el
index 9a45135..fd5fb1e 100644
--- a/valign.el
+++ b/valign.el
@@ -902,8 +902,7 @@ FLAG is the same as in ‘org-flag-region’."
markdown-cycle))
(advice-remove fn #'valign--tab-advice))
(dolist (fn '(text-scale-increase
- text-scale-decrease
- org-agenda-finalize-hook))
+ text-scale-decrease))
(advice-remove fn #'valign--buffer-advice))
(dolist (fn '(org-flag-region outline-flag-region))
(advice-remove fn #'valign--flag-region-advice)))
@@ -949,7 +948,6 @@ You need to restart valign mode for this setting to take
effect."
(advice-add fn :after #'valign--tab-advice))
(dolist (fn '(text-scale-increase
text-scale-decrease
- org-agenda-finalize-hook
org-toggle-inline-images))
(advice-add fn :after #'valign--buffer-advice))
(dolist (fn '(org-flag-region outline-flag-region))