Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unescaped characters #75

Open
vzaliva opened this issue Aug 13, 2020 · 0 comments · May be fixed by #76
Open

unescaped characters #75

vzaliva opened this issue Aug 13, 2020 · 0 comments · May be fixed by #76

Comments

@vzaliva
Copy link

vzaliva commented Aug 13, 2020

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)))
@vzaliva vzaliva linked a pull request Aug 13, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant