From e86fa4e6e4d73ccea336575ad343bfbea2cc6f8c Mon Sep 17 00:00:00 2001 From: Sanel Zukan Date: Wed, 15 Jun 2016 15:05:50 +0200 Subject: [PATCH] Allow nil/empty values in payload. --- monroe.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monroe.el b/monroe.el index ff9dfb9..cd50269 100644 --- a/monroe.el +++ b/monroe.el @@ -158,7 +158,8 @@ starting with 'd' and ending with 'e'." (concat "d" (apply 'concat (mapcar (lambda (str) - (format "%d:%s" (string-bytes str) str)) + (let ((s (if str str ""))) + (format "%d:%s" (string-bytes s) s))) message)) "e"))