summaryrefslogtreecommitdiff
path: root/lisp/sort.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-11-25 00:28:04 +0000
committerRichard M. Stallman <rms@gnu.org>1995-11-25 00:28:04 +0000
commit73a62b66c83c49b618d755fe71840cf1e49d2e80 (patch)
tree4381190ea4724fd443c0d77790381eb5a4046dff /lisp/sort.el
parent7c9b396b4a6b6881c5d3878c8fc3502bc36dca46 (diff)
downloademacs-73a62b66c83c49b618d755fe71840cf1e49d2e80.tar.gz
(sort-regexp-fields): Doc fix.
Diffstat (limited to 'lisp/sort.el')
-rw-r--r--lisp/sort.el6
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.
For example, to sort lines RECORD-REGEXP would be \"^.*$\"
KEY specifies the part of each record (ie each match for RECORD-REGEXP)
is to be used for sorting.
- If it is \"\\digit\" then the digit'th \"\\(...\\)\" match field from
+ If it is \"\\\\digit\" then the digit'th \"\\\\(...\\\\)\" match field from
RECORD-REGEXP is used.
- If it is \"\\&\" then the whole record is used.
+ If it is \"\\\\&\" then the whole record is used.
Otherwise, it is a regular-expression for which to search within the record.
If a match for KEY is not found within a record then that record is ignored.
@@ -383,7 +383,7 @@ With a negative prefix arg sorts in reverse order.
For example: to sort lines in the region by the first word on each line
starting with the letter \"f\",
- RECORD-REGEXP would be \"^.*$\" and KEY would be \"\\=\\<f\\w*\\>\""
+ RECORD-REGEXP would be \"^.*$\" and KEY would be \"\\\\=\\<f\\\\w*\\\\>\""
;; using negative prefix arg to mean "reverse" is now inconsistent with
;; other sort-.*fields functions but then again this was before, since it
;; didn't use the magnitude of the arg to specify anything.