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

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

[elpa] externals/valign 9a9a4a1 022/198: Merge branch 'master' into mast


From: Stefan Monnier
Subject: [elpa] externals/valign 9a9a4a1 022/198: Merge branch 'master' into master
Date: Tue, 1 Dec 2020 18:19:08 -0500 (EST)

branch: externals/valign
commit 9a9a4a13bb3a00dc90ec1bce59917f78df5e7de0
Merge: 8618a44 f4235e7
Author: tumashu <tumashu@163.com>
Commit: GitHub <noreply@github.com>

    Merge branch 'master' into master
---
 valign.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/valign.el b/valign.el
index b8ee520..f7f14bd 100644
--- a/valign.el
+++ b/valign.el
@@ -273,10 +273,11 @@ white space stretching to XPOS, a pixel x position."
           ;; Remove text property.
           (put-text-property p tab-end 'display nil))))))
 
-(defun valign-initial-alignment (beg end)
+(defun valign-initial-alignment (beg end &optional force)
   "Perform initial alignment for tables between BEG and END.
-Supposed to be called from jit-lock."
-  (if (text-property-any beg end 'valign-init nil)
+Supposed to be called from jit-lock.
+Force align if FORCE non-nil."
+  (if (or force (text-property-any beg end 'valign-init nil))
       (save-excursion
         (goto-char beg)
         (while (and (search-forward "|" nil t)



reply via email to

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