This post is a weekly opportunity to start a conversation on Emacs. Post any new tips, tricks, or questions you have for the community.

  • This2ShallPass@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 months ago

    Here is a quick trick to start. I recently discovered the identity function in Emacs lisp which can be useful when combined with other Emacs lisp functions. For instance, to take any Emacs lisp list and create a string separated by a space, you can do the following:

    (mapconcat #'identity mylist " ")
    

    Very useful for making lisp to create strings that work on the command line.