diff options
author | Bastien Guerry <bzg@altern.org> | 2012-01-12 16:13:33 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-01-12 16:13:33 +0100 |
commit | df9e196edb7a250d12bfadf8385feb0a0aa7f303 (patch) | |
tree | 0b66827a7dd07192e7b22081e1eb6749b77967d6 | |
parent | d9f53f17f2dbacfe752507d3b915cdc5dc84795e (diff) | |
download | org-mode-df9e196edb7a250d12bfadf8385feb0a0aa7f303.tar.gz |
Docfix: using `org-sort' with a double prefix doesn't delete duplicates.
Thanks to Paweł Menich for spotting this.
-rw-r--r-- | doc/org.texi | 3 | ||||
-rw-r--r-- | lisp/org.el | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/doc/org.texi b/doc/org.texi index 677b587..b96e0f7 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -1435,8 +1435,7 @@ creation time, scheduled time, deadline time), by priority, by TODO keyword (in the sequence the keywords have been defined in the setup) or by the value of a property. Reverse sorting is possible as well. You can also supply your own function to extract the sorting key. With a @kbd{C-u} prefix, -sorting will be case-sensitive. With two @kbd{C-u C-u} prefixes, duplicate -entries will also be removed. +sorting will be case-sensitive. @orgcmd{C-x n s,org-narrow-to-subtree} Narrow buffer to current subtree. @orgcmd{C-x n b,org-narrow-to-block} diff --git a/lisp/org.el b/lisp/org.el index fcfc35c..b6d31cf 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -7959,8 +7959,7 @@ and still retain the repeater to cover future instances of the task." (defun org-sort (with-case) "Call `org-sort-entries', `org-table-sort-lines' or `org-sort-list'. -Optional argument WITH-CASE means sort case-sensitively. -With a double prefix argument, also remove duplicate entries." +Optional argument WITH-CASE means sort case-sensitively." (interactive "P") (cond ((org-at-table-p) (org-call-with-arg 'org-table-sort-lines with-case)) |