]> git.eshelyaron.com Git - emacs.git/commit
Move proper-list-p to C
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Jul 2018 22:58:46 +0000 (15:58 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Jul 2018 23:08:09 +0000 (16:08 -0700)
commit200195e824befa112459c0afbac7c94aea739573
tree7799fc7738ba0b7cbfa2539c4c15c713c2419cd9
parent0ed21b7b3e71303d7858192246012f4b26438ad8
Move proper-list-p to C

Since C code can use it and it’s simple, we might as well use C.
* lisp/subr.el (proper-list-p): Move to C code.
* src/eval.c (signal_error): Simplify by using Fproper_list_p.
* src/fns.c (Fproper_list_p): New function, moved here from Lisp.

Simplify signal_error
* src/eval.c (signal_error): Simplify by using FOR_EACH_TAIL_SAFE.
lisp/subr.el
src/eval.c
src/fns.c
src/lisp.h