Extract paredit setup into a separate function