Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8e5b59e1
Commit
8e5b59e1
authored
Nov 25, 1995
by
Richard M. Stallman
Browse files
(sort-regexp-fields): Doc fix.
parent
1d28946c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/sort.el
lisp/sort.el
+3
-3
No files found.
lisp/sort.el
View file @
8e5b59e1
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment