Fork me on GitHub
#emacs
<
2016-03-04
>
richiardiandrea00:03:37

ok it was actually easy:

(defun paredit-kill-parent-sexp (&optional arg)
  (interactive)
  (paredit-backward-up)
  (kill-sexp (or arg 1)))
good enough for now

malabarba00:03:05

@christianromney your code looks good. Just use expand-file-name instead of concat. 👍

malabarba00:03:12

@jarredlhumphrey you could change the history file for each project. Look into emacs dir-local variables.

christianromney13:03:01

@malabarba: thanks for the tip! I’ll be looking to improve this iteratively and to include unloading

base69816:03:09

When you do "locals" in cider and it shows it a list of the vars, how do you copy one? I am trying to make a test case with input into a function.

base69816:03:21

inspect and pprint works!

base69816:03:17

then you can eval in your test case and profit... so many cool ways to build failing tests.