branch: externals/valign
commit a63211702401cf6093636f8337d9dc3f0f20c59a
Author: Yuan Fu <[email protected]>
Commit: Yuan Fu <[email protected]>
* valign.el (valign--do-column): Go to beginning of line first.
---
valign.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/valign.el b/valign.el
index fd75762..8200fbc 100644
--- a/valign.el
+++ b/valign.el
@@ -159,6 +159,7 @@ COLUMN-IDX-SYM is bound to the index of the column
(0-based)."
(declare (indent 1))
`(progn
(setq ,column-idx-sym 0)
+ (beginning-of-line)
(while (search-forward "|" (line-end-position) t)
;; Unless we are after the last bar.
(unless (looking-at "[^|]*\n")