mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Make delimit-columns-region say what it does
* lisp/delim-col.el (delimit-columns-region): Make the doc string say a bit more about what it does (bug#35651). (delimit-columns-rectangle): Refer to the first function.
This commit is contained in:
parent
9926e81126
commit
fb5d70c6fc
1 changed files with 21 additions and 1 deletions
|
|
@ -258,7 +258,25 @@ at the left corner."
|
|||
(defun delimit-columns-region (start end)
|
||||
"Prettify all columns in a text region.
|
||||
|
||||
START and END delimit the text region."
|
||||
START and END delimit the text region.
|
||||
|
||||
If you have, for example, the following columns:
|
||||
|
||||
a b c d
|
||||
aaaa bb ccc ddddd
|
||||
|
||||
Depending on your settings (see below), you then obtain the
|
||||
following result:
|
||||
|
||||
[ a , b , c , d ]
|
||||
[ aaaa, bb , ccc , ddddd ]
|
||||
|
||||
See the `delimit-columns-str-before',
|
||||
`delimit-columns-str-after', `delimit-columns-str-separator',
|
||||
`delimit-columns-before', `delimit-columns-after',
|
||||
`delimit-columns-separator', `delimit-columns-format' and
|
||||
`delimit-columns-extra' variables for customization of the
|
||||
look. "
|
||||
(interactive "*r")
|
||||
(if rectangle-mark-mode
|
||||
;; Delegate to delimit-columns-rectangle when called with a
|
||||
|
|
@ -314,6 +332,8 @@ START and END delimit the text region."
|
|||
(defun delimit-columns-rectangle (start end)
|
||||
"Prettify all columns in a text rectangle.
|
||||
|
||||
See `delimit-columns-region' for what this entails.
|
||||
|
||||
START and END delimit the corners of the text rectangle."
|
||||
(interactive "*r")
|
||||
(let ((delimit-columns-str-before
|
||||
|
|
|
|||
Loading…
Reference in a new issue