branch: elpa/isl
commit a477c6d507ff1c7867378f78bb239a9eb697faf9
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>

    Update isl--point-min/max after aligning text
---
 isl.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/isl.el b/isl.el
index 7a1c7b6bdf4..9406c9f73df 100644
--- a/isl.el
+++ b/isl.el
@@ -756,6 +756,10 @@ Arguments OCCURRENCE-REGEXP, BEG and END have same meaning 
as in
                               isl-pattern
                             (regexp-quote isl-pattern)))
                   1)
+    ;; Align-regexp has probably added or removed spaces so update
+    ;; isl--point-min/max.
+    (setq isl--point-min (point-min)
+          isl--point-max (point-max))
     (isl-update)))
 (put 'isl-align-regexp 'no-helm-mx t)
 

Reply via email to