-o doesn't exist on *BSD, so don't mention it

Fixes: debbugs:9301
This commit is contained in:
Lars Magne Ingebrigtsen 2011-09-11 16:54:49 +02:00
parent 9d1d6e68a4
commit 39d7fed67b
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
* dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
so don't mention it (bug#9301).
* faces.el (face-spec-set-match-display): Make `(type graphic)'
match `x', `w32' and `ns', like the manual says (bug#9029).

View file

@ -3413,7 +3413,8 @@ With a prefix argument, edit the current listing switches instead."
(error "Cannot sort this dired buffer"))
(if arg
(dired-sort-other
(read-string "ls switches (must contain -l, -o, or -g): " dired-actual-switches))
(read-string "ls switches (must contain -l or -g): "
dired-actual-switches))
(dired-sort-toggle)))
(defun dired-sort-toggle ()