Emacs Clojure mode without paredit

前端 未结 3 1942
闹比i
闹比i 2021-02-04 19:00

I\'m using the Clojure mode package from ELPA. Otherwise everything is fine, but I just can\'t stand paredit mode. I can\'t seem to turn it off easily, now I just disable it for

3条回答
  •  南旧
    南旧 (楼主)
    2021-02-04 19:24

    Found one trick that works. Before the elpa packages are loaded in init.el, add this hook to clojure mode:

    (add-hook 'clojure-mode-hook (lambda () (paredit-mode nil)))
    

提交回复
热议问题