=== modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2012-05-06 08:43:46 +0000 +++ lisp/ChangeLog 2012-05-06 13:47:05 +0000 @@ -1,3 +1,8 @@ +2012-05-06 Christopher Schmidt + + * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells + whose cdr is not a cons cell correctly (Bug#11038). + 2012-05-06 Chong Yidong * emacs-lisp/tabulated-list.el (tabulated-list-format): Accept === modified file 'lisp/emacs-lisp/cl-loaddefs.el' --- lisp/emacs-lisp/cl-loaddefs.el 2012-04-26 03:18:47 +0000 +++ lisp/emacs-lisp/cl-loaddefs.el 2012-05-06 13:50:33 +0000 @@ -286,7 +286,7 @@ ;;;;;; flet progv psetq do-all-symbols do-symbols dotimes dolist ;;;;;; do* do loop return-from return block etypecase typecase ecase ;;;;;; case load-time-value eval-when destructuring-bind function* -;;;;;; defmacro* defun* gentemp gensym) "cl-macs" "cl-macs.el" "abb2e33c6f61539d69ddbe7c4046261b") +;;;;;; defmacro* defun* gentemp gensym) "cl-macs" "cl-macs.el" "69f391c482a4981642368c6716aacfc8") ;;; Generated autoloads from cl-macs.el (autoload 'gensym "cl-macs" "\ === modified file 'lisp/emacs-lisp/cl-macs.el' --- lisp/emacs-lisp/cl-macs.el 2012-04-26 03:18:47 +0000 +++ lisp/emacs-lisp/cl-macs.el 2012-05-06 13:36:29 +0000 @@ -146,8 +146,9 @@ (cond ((equal y x) 1) ((and (consp x) (not (memq (car-safe x) '(quote function function*)))) (let ((sum 0)) - (while x + (while (consp x) (setq sum (+ sum (or (cl-expr-contains (pop x) y) 0)))) + (setq sum (+ sum (or (cl-expr-contains x y) 0))) (and (> sum 0) sum))) (t nil)))