1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
emacs/test/lisp
Basil L. Contovounesios 2fde6275b6 Add predicate proper-list-p
For discussion, see emacs-devel thread starting at
https://lists.gnu.org/archive/html/emacs-devel/2018-04/msg00460.html.

* lisp/subr.el (proper-list-p): New function.
Implementation suggested by Paul Eggert <eggert@cs.ucla.edu> in
https://lists.gnu.org/archive/html/emacs-devel/2018-06/msg00138.html.
* doc/lispref/lists.texi (List Elements):
* etc/NEWS: Document proper-list-p.
* lisp/org/ob-core.el (org-babel-insert-result):
* lisp/emacs-lisp/byte-opt.el (byte-optimize-if):
* lisp/emacs-lisp/cl-macs.el (cl--make-usage-args): Use proper-list-p.
* lisp/emacs-lisp/ert.el (ert--proper-list-p): Remove.
Replaced by proper-list-p in lisp/subr.el.
(ert--explain-equal-rec): Use proper-list-length.
* lisp/format.el (format-proper-list-p): Remove.
Replaced by proper-list-p in lisp/subr.el.
(format-annotate-single-property-change): Use proper-list-p.
* test/lisp/emacs-lisp/ert-tests.el (ert-test-proper-list-p):
Move from here...
* test/lisp/subr-tests.el (subr-tests--proper-list-length):
...to here, mutatis mutandis.
2018-07-09 19:00:43 -07:00
..
calc Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calendar Update copyright year to 2018 2018-01-01 00:57:59 -08:00
emacs-lisp Add predicate proper-list-p 2018-07-09 19:00:43 -07:00
emulation Update copyright year to 2018 2018-01-01 00:57:59 -08:00
erc Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eshell esh-opt.el: Add a :parse-leading-options-only argument (Bug#28323) 2018-05-15 19:32:49 -04:00
gnus Use “Cc” for email copies, as per RFC 5322. 2018-05-20 11:02:50 -07:00
international Update Unicode data files to version 11.0.0 of Unicode 2018-06-09 15:41:21 +03:00
mail Update copyright year to 2018 2018-01-01 00:57:59 -08:00
net Merge from emacs-26 2018-07-09 20:03:30 -04:00
org Recognize Org as builtin package (bug#30310) 2018-02-02 21:09:09 -05:00
progmodes Fix Tcl indentation in a namespace 2018-07-03 22:13:27 -06:00
textmodes Add Imenu support to CSS mode and its derivatives 2018-05-29 21:24:26 +02:00
url Rewrite `url-domain' to avoid network traffic 2018-05-01 14:26:38 +02:00
vc * test/lisp/vc/vc-tests.el (w32-application-type): Fix declaration. 2018-03-09 16:36:50 -05:00
abbrev-tests.el Preserve special abbrev properties when writing 2018-02-17 08:47:20 -05:00
arc-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
auth-source-pass-tests.el Test checking that auth-source-pass backend is correctly installed 2018-06-05 15:53:33 +02:00
auth-source-tests.el Fix bugs in `auth-source-netrc-parse-one'. 2018-05-17 18:44:31 +03:00
autorevert-tests.el Use file notification in autorevert also for recreated files 2018-01-20 16:26:02 +01:00
buff-menu-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
char-fold-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
color-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
comint-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
dabbrev-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
descr-text-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
dired-aux-tests.el Honor dired-create-destination-dirs if copying/renaming >1 files 2018-04-05 12:15:54 +09:00
dired-tests.el Quieten compilation of some test/lisp files 2018-03-09 15:04:59 -05:00
dired-x-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
dom-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
electric-tests.el Mark a specific electric-pair-mode test as an expected failure 2018-06-19 02:53:10 +01:00
epg-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
faces-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ffap-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
filenotify-tests.el * lisp/subr.el (dotimes): Deprecate RESULT field. (Bug#16206) 2018-04-28 23:20:33 +03:00
files-tests.el Fix selinux test in files-tests.el 2018-06-05 09:43:34 +02:00
files-x-tests.el Fix Bug#32090 2018-07-09 16:03:49 +02:00
help-fns-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
hi-lock-tests.el Quieten compilation of some test/lisp files 2018-03-09 15:04:59 -05:00
htmlfontify-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
ibuffer-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ido-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
imenu-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
info-xref-tests.el ; * test/lisp/info-xref-tests.el: Remove stray line from previous. 2018-03-19 17:08:46 -04:00
isearch-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
jit-lock-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
json-tests.el Fix pretty-printing empty objects as null 2018-06-14 11:01:49 +02:00
jsonrpc-tests.el Adjust previous jsonrpc change 2018-07-03 08:21:56 +01:00
kmacro-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ls-lisp-tests.el Quieten compilation of some test/lisp files 2018-03-09 15:04:59 -05:00
man-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
md4-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
minibuffer-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
mouse-tests.el * test/lisp/mouse-tests.el: Fix tests broken by mouse.el change 2018-01-30 17:37:20 -05:00
obarray-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ps-print-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
register-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
replace-tests.el query-replace undo: Handle when user edits the replacement string 2018-06-03 23:28:30 +09:00
rot13-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ses-tests.el * test/lisp/ses-tests.el: Quieten compilation. 2018-03-15 12:32:50 -04:00
shell-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
simple-tests.el * test/lisp/simple-tests.el (simple-tests-async-shell-command-30280): 2018-06-17 10:22:28 -07:00
sort-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
soundex-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
subr-tests.el Add predicate proper-list-p 2018-07-09 19:00:43 -07:00
tar-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
term-tests.el Merge from emacs-26 2018-06-10 18:47:27 -04:00
thingatpt-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
whitespace-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
xdg-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
xml-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
xt-mouse-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00