aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/delim-col.el22
1 files changed, 21 insertions, 1 deletions
diff --git a/lisp/delim-col.el b/lisp/delim-col.el
index b3a773e5b02..2f3ee3647e8 100644
--- a/lisp/delim-col.el
+++ b/lisp/delim-col.el
@@ -258,7 +258,25 @@ at the left corner."
258(defun delimit-columns-region (start end) 258(defun delimit-columns-region (start end)
259 "Prettify all columns in a text region. 259 "Prettify all columns in a text region.
260 260
261START and END delimit the text region." 261START and END delimit the text region.
262
263If you have, for example, the following columns:
264
265 a b c d
266 aaaa bb ccc ddddd
267
268Depending on your settings (see below), you then obtain the
269following result:
270
271 [ a , b , c , d ]
272 [ aaaa, bb , ccc , ddddd ]
273
274See the `delimit-columns-str-before',
275`delimit-columns-str-after', `delimit-columns-str-separator',
276`delimit-columns-before', `delimit-columns-after',
277`delimit-columns-separator', `delimit-columns-format' and
278`delimit-columns-extra' variables for customization of the
279look. "
262 (interactive "*r") 280 (interactive "*r")
263 (if rectangle-mark-mode 281 (if rectangle-mark-mode
264 ;; Delegate to delimit-columns-rectangle when called with a 282 ;; Delegate to delimit-columns-rectangle when called with a
@@ -314,6 +332,8 @@ START and END delimit the text region."
314(defun delimit-columns-rectangle (start end) 332(defun delimit-columns-rectangle (start end)
315 "Prettify all columns in a text rectangle. 333 "Prettify all columns in a text rectangle.
316 334
335See `delimit-columns-region' for what this entails.
336
317START and END delimit the corners of the text rectangle." 337START and END delimit the corners of the text rectangle."
318 (interactive "*r") 338 (interactive "*r")
319 (let ((delimit-columns-str-before 339 (let ((delimit-columns-str-before