message-flatten-list

message-flatten-list is a compiled Lisp function in `message.el'.

(message-flatten-list LIST)

Return a new, flat list that contains all elements of LIST.

(message-flatten-list '(1 (2 3 (4 5 (6))) 7))
=> (1 2 3 4 5 6 7)