Fixed, thanks! At 2021-04-23 11:10:42, "Stefan Monnier" wrote: >> +(defun pyim-flatten-list (my-list) >> + (cond >> + ((null my-list) nil) >> + ((atom my-list) (list my-list)) >> + (t (append (pyim-flatten-list (car my-list)) >> + (pyim-flatten-list (cdr my-list)))))) > >I believe this is called `flatten-tree` in Emacs-27. > > > Stefan