-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Emacs 27.1 gives me the following startup warning:
Loading ‘~/.emacs’: unescaped character literals `?[', `?]' detected, `?\[', `?\]' expected!
In function:
(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)))
Metadata
Metadata
Assignees
Labels
No labels