diff lisp/cl-macs.el @ 286:57709be46d1b r21-0b41

Import from CVS: tag r21-0b41
author cvs
date Mon, 13 Aug 2007 10:35:03 +0200
parents 12579d965149
children afd57c14dfc8
line wrap: on
line diff
--- a/lisp/cl-macs.el	Mon Aug 13 10:34:15 2007 +0200
+++ b/lisp/cl-macs.el	Mon Aug 13 10:35:03 2007 +0200
@@ -1692,8 +1692,12 @@
 (defsetf selected-device select-device t)
 (defsetf device-baud-rate (&optional d) (v)
   `(set-device-baud-rate ,d ,v))
-(defsetf specifier-instance (spec &optional dom def nof) (val)
-  `(set-specifier ,spec ,val ,dom))
+;; This setf method is a bad idea, because set-specifier *adds* a
+;; specification, rather than just setting it.  The net effect is that
+;; it makes specifier-instance return VAL, but other things don't work
+;; as expected -- letf, to name one.
+;(defsetf specifier-instance (spec &optional dom def nof) (val)
+;  `(set-specifier ,spec ,val ,dom))
 
 ;; Annotations
 (defsetf annotation-glyph set-annotation-glyph)