Skip to content

leaf-alias #514

@jgarte

Description

@jgarte

Could leaf have a macro like this (Sorry, Github markdown does not allow to indent lisp code nicely in code blocks.):

(leaf-alias open find-file
                openo find-file-other-window)

Instead of writing the following in vanilla elisp:

(defalias 'open 'find-file)
(defalias 'openo 'find-file-other-window)

Or, is there another package that already covers this?

I suppose I could also write a macro for this but if it's already out there I would like to consult that source first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions