Browse Source

Docfix: using `org-sort' with a double prefix doesn't delete duplicates.

Thanks to Paweł Menich for spotting this.
Bastien Guerry 13 years ago
parent
commit
a7389dff1e
2 changed files with 2 additions and 4 deletions
  1. 1 2
      doc/org.texi
  2. 1 2
      lisp/org.el

+ 1 - 2
doc/org.texi

@@ -1443,8 +1443,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
 (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
 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,
 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}
 @orgcmd{C-x n s,org-narrow-to-subtree}
 Narrow buffer to current subtree.
 Narrow buffer to current subtree.
 @orgcmd{C-x n b,org-narrow-to-block}
 @orgcmd{C-x n b,org-narrow-to-block}

+ 1 - 2
lisp/org.el

@@ -7960,8 +7960,7 @@ and still retain the repeater to cover future instances of the task."
 
 
 (defun org-sort (with-case)
 (defun org-sort (with-case)
   "Call `org-sort-entries', `org-table-sort-lines' or `org-sort-list'.
   "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")
   (interactive "P")
   (cond
   (cond
    ((org-at-table-p) (org-call-with-arg 'org-table-sort-lines with-case))
    ((org-at-table-p) (org-call-with-arg 'org-table-sort-lines with-case))