# HG changeset patch # User Andreas Schwab # Date 1076280099 0 # Node ID 43366e9eb88a7d675ffa0d317596734cac7eb8a6 # Parent 39becfd4c2c17779c762e42f1ed272efd747e810 (defstruct): Remove extra format string argument. (cl-struct-setf-expander): Likewise. diff -r 39becfd4c2c1 -r 43366e9eb88a lisp/emacs-lisp/cl-macs.el --- a/lisp/emacs-lisp/cl-macs.el Sun Feb 08 22:41:18 2004 +0000 +++ b/lisp/emacs-lisp/cl-macs.el Sun Feb 08 22:41:39 2004 +0000 @@ -1,6 +1,6 @@ ;;; cl-macs.el --- Common Lisp macros -*-byte-compile-dynamic: t;-*- -;; Copyright (C) 1993, 2003 Free Software Foundation, Inc. +;; Copyright (C) 1993, 2003, 2004 Free Software Foundation, Inc. ;; Author: Dave Gillespie ;; Version: 2.02 @@ -2261,8 +2261,7 @@ (list (list 'or pred-check (list 'error (format "%s accessing a non-%s" - accessor name) - 'cl-x)))) + accessor name))))) (list (if (eq type 'vector) (list 'aref 'cl-x pos) (if (= pos 0) '(car cl-x) (list 'nth pos 'cl-x)))))) forms) @@ -2340,8 +2339,7 @@ (list (list 'or (subst temp 'cl-x pred-form) (list 'error (format - "%s storing a non-%s" accessor name) - temp)))) + "%s storing a non-%s" accessor name))))) (list (if (eq (car (get name 'cl-struct-type)) 'vector) (list 'aset temp pos store) (list 'setcar