emacs-lisp-modeかlisp-interaction-mode上でC-M-xを押したらカーソル位置のトップレベルフォームを評価する。関数や変数を再定義するのに便利なコマンドだ。 anythingの情報源を定義したとき、次にするべきことは動作確認だ。だったらC-M-xを押した時点で自動でanythingを起動しちゃおうぜーって設定を最新版anything-config.elに記述した。 以下のようにanything-c-source-*をsetqかdefvarしたときのみに反応する。 (setq anything-c-source-test '((name . "Test") (candidates . (lambda () '("a" "b"))) (action . message))) (defvar anything-c-source-test '((name . "Te