aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2018-07-15 18:28:35 -0700
committerPaul Eggert2018-07-15 18:30:16 -0700
commitf521161c1bc5a9cd10ee25ff5f4b7b8d753db55d (patch)
treee69fe95f27785811d092d9b327e2b1f47a47e57f
parent6de91809a35719a2dbbc121e234a7a154ef121c3 (diff)
downloademacs-f521161c1bc5a9cd10ee25ff5f4b7b8d753db55d.tar.gz
emacs-f521161c1bc5a9cd10ee25ff5f4b7b8d753db55d.zip
* lisp/format.el (format-proper-list-p): New alias.
-rw-r--r--etc/NEWS3
-rw-r--r--lisp/format.el2
2 files changed, 4 insertions, 1 deletions
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.
713+++ 713+++
714** New function 'proper-list-p'. 714** New function 'proper-list-p'.
715Given a proper list as argument, this predicate returns its length; 715Given a proper list as argument, this predicate returns its length;
716otherwise, it returns nil. 716otherwise, it returns nil. 'format-proper-list-p' is now an obsolete
717alias for the new function.
717 718
718** define-minor-mode automatically documents the meaning of ARG 719** define-minor-mode automatically documents the meaning of ARG
719 720
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'."
539 (setq tail next))) 539 (setq tail next)))
540 (cons acopy bcopy))) 540 (cons acopy bcopy)))
541 541
542(define-obsolete-function-alias 'format-proper-list-p 'proper-list-p "27.1")
543
542(defun format-reorder (items order) 544(defun format-reorder (items order)
543 "Arrange ITEMS to follow partial ORDER. 545 "Arrange ITEMS to follow partial ORDER.
544Elements of ITEMS equal to elements of ORDER will be rearranged 546Elements of ITEMS equal to elements of ORDER will be rearranged