From dc26bdde7063a976850bb7c8d8923426e81fca47 Mon Sep 17 00:00:00 2001 From: David Date: Fri, 2 Feb 2024 16:49:00 +0100 Subject: [PATCH] Update README.md Fixed placeholder notation in (transform-square-brackets-to-round-ones): All four have to be escaped on my Emacs 27.1 on Debian. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 03ee58d..e07d576 100644 --- a/README.md +++ b/README.md @@ -227,7 +227,7 @@ _Hint:_ You can put code in capture handlers via %() blocks. I use this mechanis (defun transform-square-brackets-to-round-ones(string-to-transform) "Transforms [ into ( and ] into ), other chars left unchanged." (concat - (mapcar #'(lambda (c) (if (equal c ?[) ?\( (if (equal c ?]) ?\) c))) string-to-transform)) + (mapcar #'(lambda (c) (if (equal c ?\[) ?\( (if (equal c ?\]) ?\) c))) string-to-transform)) ) (setq org-capture-templates `(