branch: externals/rec-mode
commit 797445b68fd729ce8d9b3ef46a2e922f02972117
Author: Jose E. Marchesi <[email protected]>
Commit: Antoine Kalmbach <[email protected]>
rec-mode: fix a call to string-match-p with invalid arguments.
---
etc/rec-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/rec-mode.el b/etc/rec-mode.el
index 5d2ef72..11f5027 100644
--- a/etc/rec-mode.el
+++ b/etc/rec-mode.el
@@ -1227,7 +1227,7 @@ is a field type structure."
((equal kind 'size)
(<= (length str) data))
((equal kind 'line)
- (string-match-p "^[^\n]*$"))
+ (string-match-p "^[^\n]*$" value))
((equal kind 'regexp)
(string-match-p data value))
((equal kind 'date)