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

-*- dynamic-binding: t -*- #310

Open
x022235 opened this issue Jun 12, 2012 · 0 comments
Open

-*- dynamic-binding: t -*- #310

x022235 opened this issue Jun 12, 2012 · 0 comments

Comments

@x022235
Copy link
Member

x022235 commented Jun 12, 2012

背景

  • Emacs 24 では -*- lexical-binding: t -*- を書くと
    レキシカルスコープになる

    http://sakito.jp/emacs/emacs24.html#emacs-lisp-lexical-binding

  • xyzzy Lisp ではデフォルトでレキシカルスコープなので、
    Emacs に対抗してダイナミックスコープに変更できるようにする

  • 真面目なユースケースとしてはダイナミックスコープ前提で書かれた
    Emacs Lisp を移植しやすくなるかも

仕様

  • ファイルの先頭に -*- dynamic-binding: t -*- と書くと
    ダイナミックスコープになるようにする
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant