emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master f521161: * lisp/format.el (format-proper-list-p): N


From: Paul Eggert
Subject: [Emacs-diffs] master f521161: * lisp/format.el (format-proper-list-p): New alias.
Date: Sun, 15 Jul 2018 21:30:41 -0400 (EDT)

branch: master
commit f521161c1bc5a9cd10ee25ff5f4b7b8d753db55d
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    * lisp/format.el (format-proper-list-p): New alias.
---
 etc/NEWS       | 3 ++-
 lisp/format.el | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/etc/NEWS b/etc/NEWS
index c69bbe9..2a93bdf 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 5bf1be3..49d3c71 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]