Skip to content

unescaped characters #75

@vzaliva

Description

@vzaliva

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions