diff lisp/ChangeLog @ 5523:810b77562486

Improve #'defsubst* a little, document a bug that remains. 2011-06-19 Aidan Kehoe <kehoea@parhasard.net> * cl-macs.el (defsubst*): * cl-macs.el (cl-defsubst-expand): If defaults refer to earlier args, or if there's a &rest arg, use #'proclaim-inline. Use #'symbol-macrolet instead of #'subst when replacing argument names with their values in the inline expansion; this avoids (most) instances where the symbol's function slot is used. Document a bug that occurs if the symbol is being shadowed in a lexically-contained scope.
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 19 Jun 2011 19:03:39 +0100
parents 544e6336d37c
children e05d98bf9644
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Jun 19 17:43:03 2011 +0100
+++ b/lisp/ChangeLog	Sun Jun 19 19:03:39 2011 +0100
@@ -1,3 +1,15 @@
+2011-06-19  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* cl-macs.el (defsubst*):
+	* cl-macs.el (cl-defsubst-expand):
+	If defaults refer to earlier args, or if there's a &rest arg, use
+	#'proclaim-inline.
+	Use #'symbol-macrolet instead of #'subst when replacing argument
+	names with their values in the inline expansion; this avoids
+	(most) instances where the symbol's function slot is used.
+	Document a bug that occurs if the symbol is being shadowed in a
+	lexically-contained scope.
+
 2011-06-19  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* cl-macs.el: