Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试将以下内容放入我的 Preferences.el 文件中:
(add-hook 'clojure-mode-hook 'paredit-mode) (add-hook 'cider-mode-hook 'cider-turn-on-eldoc-mode) (setq cider-prompt-save-file-on-load nil)
不幸的是,这没有效果。我还需要做些什么才能使这些生效吗?
在顶部添加以下内容应该可以解决问题:
(add-hook 'clojure-mode-hook 'cider-mode)
cider-mode默认情况下不加载clojure-mode文件。
cider-mode
clojure-mode