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.
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:
Very useful for making lisp to create strings that work on the command line.