Skip to content

How do disable the syntax? #9

Open
@vindarel

Description

@vindarel

Hello,

We can enable the syntax with (in-readtable clesh:syntax). How can we set it back to normal?

I tried:

(defun disable-shell-passthrough ()
  (set-macro-character #\! (get-macro-character #\! (copy-readtable nil)))
  (set-macro-character #\[ (get-macro-character #\[ (copy-readtable nil)))
  (set-macro-character #\] (get-macro-character #\] (copy-readtable nil))))

but I can't enable the syntax back again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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