diff options
| author | Paul Eggert | 2018-07-15 18:28:35 -0700 |
|---|---|---|
| committer | Paul Eggert | 2018-07-15 18:30:16 -0700 |
| commit | f521161c1bc5a9cd10ee25ff5f4b7b8d753db55d (patch) | |
| tree | e69fe95f27785811d092d9b327e2b1f47a47e57f | |
| parent | 6de91809a35719a2dbbc121e234a7a154ef121c3 (diff) | |
| download | emacs-f521161c1bc5a9cd10ee25ff5f4b7b8d753db55d.tar.gz emacs-f521161c1bc5a9cd10ee25ff5f4b7b8d753db55d.zip | |
* lisp/format.el (format-proper-list-p): New alias.
| -rw-r--r-- | etc/NEWS | 3 | ||||
| -rw-r--r-- | lisp/format.el | 2 |
2 files changed, 4 insertions, 1 deletions
| @@ -713,7 +713,8 @@ manual for more details. | |||
| 713 | +++ | 713 | +++ |
| 714 | ** New function 'proper-list-p'. | 714 | ** New function 'proper-list-p'. |
| 715 | Given a proper list as argument, this predicate returns its length; | 715 | Given a proper list as argument, this predicate returns its length; |
| 716 | otherwise, it returns nil. | 716 | otherwise, it returns nil. 'format-proper-list-p' is now an obsolete |
| 717 | alias 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. |
| 544 | Elements of ITEMS equal to elements of ORDER will be rearranged | 546 | Elements of ITEMS equal to elements of ORDER will be rearranged |