[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/xr efc0663 2/3: Improved `xr-pp' doc string
From: |
Mattias Engdegård |
Subject: |
[elpa] externals/xr efc0663 2/3: Improved `xr-pp' doc string |
Date: |
Fri, 15 Mar 2019 13:17:27 -0400 (EDT) |
branch: externals/xr
commit efc06637a76437b08edbcc27c6427fb67b44dd91
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>
Improved `xr-pp' doc string
---
xr.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/xr.el b/xr.el
index c9ce0f2..5f644bb 100644
--- a/xr.el
+++ b/xr.el
@@ -706,10 +706,10 @@ It does a slightly better job than standard `pp' for rx
purposes."
;;;###autoload
(defun xr-pp (re-string &optional dialect)
- "Convert to `rx' notation and pretty-print.
-This basically does `(pp (xr RE-STRING DIALECT))', but in a slightly
-more readable way. It is intended for use from an interactive elisp
-session. Returns nil."
+ "Convert to `rx' notation and output the pretty-printed result.
+This function uses `xr' to translate RE-STRING into DIALECT.
+It is intended for use from an interactive elisp session.
+See `xr' for a description of the DIALECT argument."
(insert (xr-pp-rx-to-str (xr re-string dialect))))
(provide 'xr)