emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] scratch/record 88e7f6f 07/12: Better doc string for `old-s


From: Lars Brinkhoff
Subject: [Emacs-diffs] scratch/record 88e7f6f 07/12: Better doc string for `old-struct-compat'.
Date: Sun, 19 Mar 2017 16:04:20 -0400 (EDT)

branch: scratch/record
commit 88e7f6f08765647e8af03dbeec235487351fe939
Author: Lars Brinkhoff <address@hidden>
Commit: Lars Brinkhoff <address@hidden>

    Better doc string for `old-struct-compat'.
---
 src/data.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/data.c b/src/data.c
index 0e7f4b4..7aa71ba 100644
--- a/src/data.c
+++ b/src/data.c
@@ -3897,7 +3897,9 @@ syms_of_data (void)
   make_symbol_constant (intern_c_string ("most-negative-fixnum"));
 
   DEFVAR_BOOL ("old-struct-compat", old_struct_compat,
-              doc: /* Non-nil means hack for old structs is in effect.  */);
+              doc: /* Non-nil means try to be compatible with old structs.
+If a vector has a symbol in its first slot, and that symbol has a prefix
+`cl-struct-', `type-of` will return that symbol as the type of the vector.  
*/);
   old_struct_compat = false;
 
   DEFSYM (Qwatchers, "watchers");



reply via email to

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