Created
March 4, 2012 22:50
-
-
Save bowbow99/1975221 to your computer and use it in GitHub Desktop.
#xyzzy interactive で循環参照してるリストを要素として持つリストを使うと M-x で死ぬ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun interactive-test (x) | |
(interactive (list '#1=(a . #1#))) | |
(let ((*print-circle* t)) | |
(msgbox "~S" x))) | |
=> interactive-test | |
(interactive-test '#1=(a . #1#)) | |
;; msgbox で | |
;; #1=(a . #1#) | |
;; と表示される | |
=> :ok | |
(apply 'interactive-test (list '#1=(a. #1#))) | |
=> :ok | |
(call-interactively 'interactive-test) | |
=> :ok | |
;; M-x interactive-test | |
;; .....戻ってこない |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
define-key して実行、も問題無いようだ。