Skip to content

Need a natural way of slurping #7

@mikavilpas

Description

@mikavilpas

Here is a sample use case:

I start with this (point is at |):

(some-function-call "hello")|

Now I want to create a let form and give the return value a name. So I start to write this:

(let ((return-value-of-function|)))(some-function-call "hello")

Now I would obviously like to have the function call after the variable name, so in other words I want to slurp three times. Here is the end result:

(let ((return-value-of-function (some-function-call "hello"))))

Question: what is a natural way of doing this?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions