branch: externals/valign
commit 3c70c1558ceec7954df0cdad7f3d92a087cc788d
Author: Yuan Fu <[email protected]>
Commit: Yuan Fu <[email protected]>

    * valign.el (valign-mode): Fix.
---
 valign.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/valign.el b/valign.el
index 399d741..c060881 100644
--- a/valign.el
+++ b/valign.el
@@ -521,8 +521,7 @@ for the former, and 'multi-column for the latter."
         (advice-add 'visible-mode :after #'valign--force-align-buffer)
         (advice-add 'org-table-next-field :after #'valign-table)
         (advice-add 'org-table-previous-field :after #'valign-table)
-        (advice-add 'org-flag-region :after #'valign--org-flag-region-advice)
-        (valign-initial-alignment (point-min) (point-max)))
+        (advice-add 'org-flag-region :after #'valign--org-flag-region-advice))
     (if (boundp 'window-buffer-change-functions)
         (remove-hook 'window-buffer-change-functions
                      #'valign-window-buffer-change-hook)

Reply via email to