diff options
-rw-r--r-- | dotfiles/.emacs.d/init.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dotfiles/.emacs.d/init.el b/dotfiles/.emacs.d/init.el index ba636ba..60bc40f 100644 --- a/dotfiles/.emacs.d/init.el +++ b/dotfiles/.emacs.d/init.el @@ -407,15 +407,15 @@ indentation." (require 'ox-beamer) -(defun org-sort-by-todo-and-priority () - "Sort org entries first by TODO status, and then by priority." +(defun org-sort-by-priority-and-todo () + "Sort org entries first by priority, and then by TODO status." (interactive) - (org-sort-entries nil ?o) - (org-sort-entries nil ?p)) + (org-sort-entries nil ?p) + (org-sort-entries nil ?o)) (add-hook 'org-mode-hook (lambda () - (local-set-key (kbd "C-c o") 'org-sort-by-todo-and-priority))) + (local-set-key (kbd "C-c o") 'org-sort-by-priority-and-todo))) ;;; ;;; RSS |