aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helpful.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/helpful.el b/helpful.el
index 932a42e..8dc6c93 100644
--- a/helpful.el
+++ b/helpful.el
@@ -69,6 +69,10 @@ This allows us to distinguish strings from symbols."
"Return a string describing all the properties of SYMBOL."
(let* ((syms-and-vals
(-partition 2 (symbol-plist symbol)))
+ (syms-and-vals
+ (-sort (-lambda ((sym1 _) (sym2 _))
+ (string-lessp (symbol-name sym1) (symbol-name sym2)))
+ syms-and-vals))
(lines
(-map
(-lambda ((sym val))