>From b1c894069483adf39b5f4d1f0cdd8f1aeecb87e9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 17 Dec 2018 10:28:14 -0800 Subject: [PATCH] * lisp/subr.el (flatten-list): Remove. --- etc/NEWS | 6 ++---- lisp/subr.el | 4 ---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 327276eef9..9c6401d204 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1360,10 +1360,8 @@ are implemented in C using the Jansson library. 'ring-resize' can be used to grow or shrink a ring. +++ -** New function 'flatten-tree'. -'flatten-list' is provided as an alias. These functions take a tree -and 'flatten' it such that the result is a list of all the terminal -nodes. +** New function 'flatten-tree' returns a "flattened" copy of a tree, +such that the result is a list of all the terminal nodes. ** Mailcap diff --git a/lisp/subr.el b/lisp/subr.el index c5004a539b..0bb04d5e0a 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -5466,8 +5466,4 @@ flatten-tree (if tree (push tree elems)) (nreverse elems))) -;; Technically, `flatten-list' is a misnomer, but we provide it here -;; for discoverability: -(defalias 'flatten-list 'flatten-tree) - ;;; subr.el ends here -- 2.19.2