branch: externals/valign
commit cc3e0687f55123573b04750f6c8fea602df868b1
Author: Yuan Fu <[email protected]>
Commit: Yuan Fu <[email protected]>
* valign.el (valign--end-of-table): Change re.
---
valign.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/valign.el b/valign.el
index 7ead41e..0bc50d9 100644
--- a/valign.el
+++ b/valign.el
@@ -312,8 +312,8 @@ Assumes point is on a table. Return nil if failed, point
otherwise."
(beginning-of-line)
(if (not (looking-at "[ \t]*|")) nil
- (while (re-search-forward "|[^|]*$" nil t))
- (line-end-position)))
+ (while (re-search-forward "|[^|\n]*$" nil t))
+ (point)))
(defun valign--put-text-property (beg end xpos)
"Put text property on text from BEG to END.