From 9cb8126a8cc42d7599251fb39974dc7c5c459463 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Mon, 17 Nov 2025 09:27:33 +0700 Subject: [PATCH] emacs: Fix clojure nesting --- .config/emacs/init.org | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.config/emacs/init.org b/.config/emacs/init.org index 61fd2b5..bd28af8 100644 --- a/.config/emacs/init.org +++ b/.config/emacs/init.org @@ -2441,14 +2441,14 @@ This checks if it’s a ts mode then runs their counterparts. (string= joe/cider-last-reported-exception error-str)))) (unless same-error-p (setq joe/cider-last-reported-exception error-str) - (cider-interactive-eval "(throw @error-reporting/last-exception)"))) + (cider-interactive-eval "(throw @error-reporting/last-exception)")))) - (defun joe/cider-repl-preoutput-hook (output) - (if (string-match "EMACS-CIDER-REPORT-EXCEPTION" output) - (progn - (joe/clojure-cider-throw-last-error) - "") - output))) +(defun joe/cider-repl-preoutput-hook (output) + (if (string-match "EMACS-CIDER-REPORT-EXCEPTION" output) + (progn + (joe/clojure-cider-throw-last-error) + "") + output)) (add-hook 'cider-repl-preoutput-hook #'joe/cider-repl-preoutput-hook)