branch: externals/valign
commit 258f627671356646522bcc4f138fe423872792d5
Author: Yuan Fu <[email protected]>
Commit: Yuan Fu <[email protected]>
* valign.el (valign--clean-text-property): Fix.
---
valign.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/valign.el b/valign.el
index 27a9b30..9cae196 100644
--- a/valign.el
+++ b/valign.el
@@ -225,9 +225,9 @@ white space stretching to XPOS, a pixel x position."
(let (match)
(goto-char beg)
(while (and (setq match (text-property-search-forward
- 'display nil (lambda (p _)
+ 'display nil (lambda (_ p)
(and (consp p)
- (eq (car p) 'image)))))
+ (eq (car p) 'space)))))
(< (point) end))
(put-text-property (prop-match-beginning match)
(prop-match-end match)