Reputation: 5944
In emacs paredit-mode one can kill all following expressions which are inside the current line by hitting Ctrl+k
:
(1 |(2 3) 4 5)
(1)
How can you do the same thing, but just affecting the next expression:
(1 |(2 3) 4 5)
(1 4 5)
Upvotes: 2
Views: 177
Reputation: 17859
try C-M-k (ctrl+alt+k) It is not the paredit feature, but emacs native editing feature:
http://www.cliki.net/Editing+Lisp+Code+with+Emacs
Upvotes: 6