comparison lisp/byte-optimize.el @ 5285:99de5fd48e87

Tighten up Common Lisp compatibility, #'butlast, #'nbutlast, #'tailp, #'ldiff lisp/ChangeLog addition: 2010-10-14 Aidan Kehoe <kehoea@parhasard.net> * byte-optimize.el (side-effect-free-fns): * cl-macs.el (remf, getf): * cl-extra.el (tailp, cl-set-getf, cl-do-remf): * cl.el (ldiff, endp): Tighten up Common Lisp compatibility for #'ldiff, #'endp, #'tailp; add circularity checking for the first two. #'cl-set-getf and #'cl-do-remf were Lisp implementations of #'plist-put and #'plist-remprop; change the names to aliases, changes the macros that use them to using #'plist-put and #'plist-remprop directly. src/ChangeLog addition: 2010-10-14 Aidan Kehoe <kehoea@parhasard.net> * fns.c (Fnbutlast, Fbutlast): Tighten up Common Lisp compatibility for these two functions; they need to operate on dotted lists without erroring. tests/ChangeLog addition: 2010-10-14 Aidan Kehoe <kehoea@parhasard.net> * automated/lisp-tests.el (x): Test #'nbutlast, #'butlast with dotted lists. Check that #'ldiff and #'tailp don't hang on circular lists; check that #'tailp returns t with circular lists when that is appropriate. Test them both with dotted lists.
author Aidan Kehoe <kehoea@parhasard.net>
date Thu, 14 Oct 2010 18:50:38 +0100
parents 0d43872986b6
children bbff29a01820
comparison
equal deleted inserted replaced
5284:d27c1ee1943b 5285:99de5fd48e87
1223 buffer-modified-p buffer-substring 1223 buffer-modified-p buffer-substring
1224 capitalize car-less-than-car car cdr ceiling concat 1224 capitalize car-less-than-car car cdr ceiling concat
1225 ;; coordinates-in-window-p not in XEmacs 1225 ;; coordinates-in-window-p not in XEmacs
1226 copy-marker cos count-lines 1226 copy-marker cos count-lines
1227 default-boundp default-value denominator documentation downcase 1227 default-boundp default-value denominator documentation downcase
1228 elt exp expt fboundp featurep 1228 elt endp exp expt fboundp featurep
1229 file-directory-p file-exists-p file-locked-p file-name-absolute-p 1229 file-directory-p file-exists-p file-locked-p file-name-absolute-p
1230 file-newer-than-file-p file-readable-p file-symlink-p file-writable-p 1230 file-newer-than-file-p file-readable-p file-symlink-p file-writable-p
1231 float floor format 1231 float floor format
1232 get get-buffer get-buffer-window getenv get-file-buffer 1232 get get-buffer get-buffer-window getenv get-file-buffer
1233 ;; hash-table functions 1233 ;; hash-table functions