Mercurial > hg > xemacs-beta
comparison lisp/specifier.el @ 5267:668c73e222fd
Change forms like (delq nil (mapcar ...)) to (mapcan ...).
lisp/ChangeLog addition:
2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
* x-faces.el (x-available-font-sizes):
* specifier.el (let-specifier):
* package-ui.el (pui-add-required-packages):
* msw-faces.el (mswindows-available-font-sizes):
* modeline.el (modeline-minor-mode-menu):
* minibuf.el (minibuf-directory-files):
Replace the O2N (delq nil (mapcar (lambda (W) (and X Y)) Z)) with
the ON (mapcan (lambda (W) (and X (list Y))) Z) in these files.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Thu, 16 Sep 2010 15:06:38 +0100 |
parents | 04811a268716 |
children | f00192e1cd49 308d34e9f07d |
comparison
equal
deleted
inserted
replaced
5266:f9ec07abdbf9 | 5267:668c73e222fd |
---|---|
519 ,(car (nth 0 varel)) | 519 ,(car (nth 0 varel)) |
520 ,(car (nth 2 varel))))) | 520 ,(car (nth 2 varel))))) |
521 varlist))) | 521 varlist))) |
522 ;; Bind the appropriate variables. | 522 ;; Bind the appropriate variables. |
523 `(let* (,@(mapcan #'(lambda (varel) | 523 `(let* (,@(mapcan #'(lambda (varel) |
524 (delq nil (mapcar | 524 (mapcan #'(lambda (varcons) |
525 #'(lambda (varcons) | 525 (and (cdr varcons) (list varcons))) |
526 (and (cdr varcons) varcons)) | 526 varel)) |
527 varel))) | |
528 varlist) | 527 varlist) |
529 ,@oldvallist) | 528 ,@oldvallist) |
530 (unwind-protect | 529 (unwind-protect |
531 (progn | 530 (progn |
532 ,@(mapcar #'(lambda (varel) | 531 ,@(mapcar #'(lambda (varel) |