aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2009-08-09 02:57:45 +0000
committerChong Yidong <[email protected]>2009-08-09 02:57:45 +0000
commit18d433a76155f6079e14d27d5cd7edbc206cacef (patch)
tree3720c496635da9fb765f3806f659e7477b5635c2 /lisp/subr.el
parent1c292fc7de79735fdea7f6df03a6b2ce7100b285 (diff)
* subr.el: Provide hashtable-print-readable.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 37411bcb8a..72c781ad49 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -3647,5 +3647,14 @@ is greater than \"1pre\" which is greater than \"1beta\" which is greater than
\"1alpha\"."
(version-list-= (version-to-list v1) (version-to-list v2)))
+
+;;; Misc.
+
+;; The following statement ought to be in print.c, but `provide' can't
+;; be used there.
+(when (hash-table-p (car (read-from-string
+ (prin1-to-string (make-hash-table)))))
+ (provide 'hashtable-print-readable))
+
;; arch-tag: f7e0e6e5-70aa-4897-ae72-7a3511ec40bc
;;; subr.el ends here