How to delete extra parens in Paredit mode?

Sathish picture Sathish · Jan 5, 2013 · Viewed 10.4k times · Source

I'm using Paredit in Emacs to edit Lisp code. How do I delete an extra pair of parens that I accidentally inserted? Paredit does not allow this without extra commands.

((square 5)) into (square 5)

Answer

Michiel Borkent picture Michiel Borkent · Jan 5, 2013

This is called paredit-splice-sexp, keybinding is M-s. Take a look at the paredit cheat sheet here.