From: Paul Eggert Date: Mon, 16 Jul 2018 01:28:35 +0000 (-0700) Subject: * lisp/format.el (format-proper-list-p): New alias. X-Git-Tag: emacs-27.0.90~4664^2~76 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f521161c1bc5a9cd10ee25ff5f4b7b8d753db55d;p=emacs.git * lisp/format.el (format-proper-list-p): New alias. --- diff --git a/etc/NEWS b/etc/NEWS index c69bbe9d0f6..2a93bdf0253 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -713,7 +713,8 @@ manual for more details. +++ ** New function 'proper-list-p'. Given a proper list as argument, this predicate returns its length; -otherwise, it returns nil. +otherwise, it returns nil. 'format-proper-list-p' is now an obsolete +alias for the new function. ** define-minor-mode automatically documents the meaning of ARG diff --git a/lisp/format.el b/lisp/format.el index 5bf1be39475..49d3c718abc 100644 --- a/lisp/format.el +++ b/lisp/format.el @@ -539,6 +539,8 @@ Compare using `equal'." (setq tail next))) (cons acopy bcopy))) +(define-obsolete-function-alias 'format-proper-list-p 'proper-list-p "27.1") + (defun format-reorder (items order) "Arrange ITEMS to follow partial ORDER. Elements of ITEMS equal to elements of ORDER will be rearranged