I have the following line in the init emacs file.
(setq auto-mode-alist (cons `("\*nrepl\*" . paredit-mode) auto-mode-alist))
I verify that this works by creating a new buffer called * nrepl * Ctrl-xf *nrepl* . Yes, in the * nrepl * Paredit buffer is active, paredit mode is enabled.
I close the * nrepl * buffer without saving it.
I start an nrepl session by typing Mx nrepl-jack-in . The nrepl server starts up and nrepl repl is provided to me. Nrepl repl is also called * nrepl *, however Paredit does not .
What am I doing wrong?
source share