emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/valign a632117 122/198: * valign.el (valign--do-column)


From: Stefan Monnier
Subject: [elpa] externals/valign a632117 122/198: * valign.el (valign--do-column): Go to beginning of line first.
Date: Tue, 1 Dec 2020 18:19:30 -0500 (EST)

branch: externals/valign
commit a63211702401cf6093636f8337d9dc3f0f20c59a
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    * 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]