From fb236d6825065c071713eea3fd841c107a075d70 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Sun, 16 Jun 2024 11:13:37 +0200 Subject: [PATCH] Bind `sp-eval-expression' (replacing `eval-expression') to "M-:" --- README.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 58cb32e..19760a1 100644 --- a/README.org +++ b/README.org @@ -5514,7 +5514,10 @@ contrary to for instance [[https://github.com/Fanael/rainbow-delimiters#readme][ (if arg (insert (pp-to-string (eval expression lexical-binding))) (pp-display-expression (eval expression lexical-binding) - "*SP Eval Output*")))) + "*SP Eval Output*"))) + + ;; Do not change the "M-ESC :" `eval-expression' key binding. + (keymap-global-set "M-:" #'sp-eval-expression)) #+end_src ** [[https://github.com/davidshepherd7/electric-operator#readme][Electric operators]]