# HG changeset patch # User Richard M. Stallman # Date 817259284 0 # Node ID 146c5daf3019283448dfa59882af9ac7c70ec085 # Parent 12e79efc14503228074a747f5ee11b2f2bc18bdf (sort-regexp-fields): Doc fix. diff -r 12e79efc1450 -r 146c5daf3019 lisp/sort.el --- a/lisp/sort.el Sat Nov 25 00:20:46 1995 +0000 +++ b/lisp/sort.el Sat Nov 25 00:28:04 1995 +0000 @@ -373,9 +373,9 @@ 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 @@ 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 \"\\=\\\"" + RECORD-REGEXP would be \"^.*$\" and KEY would be \"\\\\=\\\"" ;; 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.