emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r110790: Undocument get-setf-metho


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r110790: Undocument get-setf-method, no longer exists
Date: Mon, 05 Nov 2012 21:22:07 -0500
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110790
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Mon 2012-11-05 21:22:07 -0500
message:
  Undocument get-setf-method, no longer exists
  
  * doc/misc/cl.texi (Obsolete Setf Customization):
  Undocument get-setf-method, since it no longer exists.
  
  * etc/NEWS: Mention this.
modified:
  doc/misc/ChangeLog
  doc/misc/cl.texi
  etc/NEWS
=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog        2012-11-06 02:03:34 +0000
+++ b/doc/misc/ChangeLog        2012-11-06 02:22:07 +0000
@@ -2,6 +2,7 @@
 
        * cl.texi (Obsolete Setf Customization):
        Move note on lack of setf functions to lispref/variables.texi.
+       Undocument get-setf-method, since it no longer exists.
 
 2012-11-03  Glenn Morris  <address@hidden>
 

=== modified file 'doc/misc/cl.texi'
--- a/doc/misc/cl.texi  2012-11-06 02:03:34 +0000
+++ b/doc/misc/cl.texi  2012-11-06 02:22:07 +0000
@@ -4948,9 +4948,7 @@
 Most of the modify macros defined by Common Lisp do not exactly
 follow the pattern of @code{define-modify-macro}.  For example,
 @code{push} takes its arguments in the wrong order, and @code{pop}
-is completely irregular.  You can define these macros ``by hand''
-using @code{get-setf-method}, or consult the source
-to see how to use the internal @code{setf} building blocks.
+is completely irregular.
 @end defmac
 
 @defmac defsetf access-fn update-fn
@@ -5078,6 +5076,8 @@
 setf-method itself to optimize.
 @end defmac
 
address@hidden Removed in Emacs 24.3, not possible to make a compatible 
replacement.
address@hidden
 @defun get-setf-method place &optional env
 This function returns the setf-method for @var{place}, by
 invoking the definition previously recorded by @code{defsetf}
@@ -5085,12 +5085,12 @@
 values as described above.  You can use this function to build
 your own @code{cl-incf}-like modify macros.
 @c These no longer exist.
address@hidden
-(Actually, it is better to use the internal functions
address@hidden and @code{cl-setf-do-store}, which are a bit
-easier to use and which also do a number of optimizations; consult the
-source code for the @code{cl-incf} function for a simple example.)
address@hidden ignore
address@hidden
address@hidden (Actually, it is better to use the internal functions
address@hidden @code{cl-setf-do-modify} and @code{cl-setf-do-store}, which are 
a bit
address@hidden easier to use and which also do a number of optimizations; 
consult the
address@hidden source code for the @code{cl-incf} function for a simple 
example.)
address@hidden
 
 The argument @var{env} specifies the ``environment'' to be
 passed on to @code{macroexpand} if @code{get-setf-method} should
@@ -5104,6 +5104,7 @@
 @code{substring}, which works by calling @code{get-setf-method} on a
 simpler case, then massaging the result.
 @end defun
address@hidden ignore
 
 
 @node GNU Free Documentation License

=== modified file 'etc/NEWS'
--- a/etc/NEWS  2012-11-06 01:42:17 +0000
+++ b/etc/NEWS  2012-11-06 02:22:07 +0000
@@ -722,6 +722,13 @@
 but keywords or keyword-string pairs.  The old argument list will
 still be supported for Emacs 24.x.
 
++++
+** The CL package's `get-setf-method' function no longer exists.
+Generalized variables are now part of core Emacs Lisp, and implemented
+differently to the way cl.el used to do it.  It is not possible to
+define a compatible replacement for `get-setf-method'.  See the file
+gv.el for internal details of the new implementation.
+
 ** Spelling changes.
 Some Lisp symbols have been renamed to avoid problems with spelling
 that is incorrect or inconsistent with how Emacs normally spells a word.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]