diff options
| author | Richard M. Stallman | 1995-11-25 00:28:04 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-11-25 00:28:04 +0000 |
| commit | 8e5b59e1309eb0079edae3170937a2153bd71814 (patch) | |
| tree | e1843661266ff67eede54c5c055ea77e312f57d3 | |
| parent | 1d28946c4a68aa96de1849a1fb2f82329ce94a35 (diff) | |
| download | emacs-8e5b59e1309eb0079edae3170937a2153bd71814.tar.gz emacs-8e5b59e1309eb0079edae3170937a2153bd71814.zip | |
(sort-regexp-fields): Doc fix.
| -rw-r--r-- | lisp/sort.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/sort.el b/lisp/sort.el index 392ea938860..89fd2d2eb74 100644 --- a/lisp/sort.el +++ b/lisp/sort.el | |||
| @@ -373,9 +373,9 @@ RECORD-REGEXP specifies the textual units which should be sorted. | |||
| 373 | For example, to sort lines RECORD-REGEXP would be \"^.*$\" | 373 | For example, to sort lines RECORD-REGEXP would be \"^.*$\" |
| 374 | KEY specifies the part of each record (ie each match for RECORD-REGEXP) | 374 | KEY specifies the part of each record (ie each match for RECORD-REGEXP) |
| 375 | is to be used for sorting. | 375 | is to be used for sorting. |
| 376 | If it is \"\\digit\" then the digit'th \"\\(...\\)\" match field from | 376 | If it is \"\\\\digit\" then the digit'th \"\\\\(...\\\\)\" match field from |
| 377 | RECORD-REGEXP is used. | 377 | RECORD-REGEXP is used. |
| 378 | If it is \"\\&\" then the whole record is used. | 378 | If it is \"\\\\&\" then the whole record is used. |
| 379 | Otherwise, it is a regular-expression for which to search within the record. | 379 | Otherwise, it is a regular-expression for which to search within the record. |
| 380 | If a match for KEY is not found within a record then that record is ignored. | 380 | If a match for KEY is not found within a record then that record is ignored. |
| 381 | 381 | ||
| @@ -383,7 +383,7 @@ With a negative prefix arg sorts in reverse order. | |||
| 383 | 383 | ||
| 384 | For example: to sort lines in the region by the first word on each line | 384 | For example: to sort lines in the region by the first word on each line |
| 385 | starting with the letter \"f\", | 385 | starting with the letter \"f\", |
| 386 | RECORD-REGEXP would be \"^.*$\" and KEY would be \"\\=\\<f\\w*\\>\"" | 386 | RECORD-REGEXP would be \"^.*$\" and KEY would be \"\\\\=\\<f\\\\w*\\\\>\"" |
| 387 | ;; using negative prefix arg to mean "reverse" is now inconsistent with | 387 | ;; using negative prefix arg to mean "reverse" is now inconsistent with |
| 388 | ;; other sort-.*fields functions but then again this was before, since it | 388 | ;; other sort-.*fields functions but then again this was before, since it |
| 389 | ;; didn't use the magnitude of the arg to specify anything. | 389 | ;; didn't use the magnitude of the arg to specify anything. |