Rebind `org-agenda-priority' to `C-c ," in agenda mode (`C-u C-c ,' now shows priority)
commite8b45bb947a967d571a93c2b5cae30182e0e7ebe
authorBastien Guerry <bzg@altern.org>
Fri, 28 Sep 2012 06:29:38 +0000 (28 08:29 +0200)
committerBastien Guerry <bzg@altern.org>
Fri, 28 Sep 2012 06:29:38 +0000 (28 08:29 +0200)
tree30c91076af47597f7ad48474cdf4a29d4594dc98
parent001d2d92ba5937a2f3681cd2ee004c1807a97136
Rebind `org-agenda-priority' to `C-c ," in agenda mode (`C-u C-c ,' now shows priority)

* org.el (org-priority): Use a new argument to show priority
instead of setting it.
(org-show-priority): New function to show priority both in
normal Org buffers and in Org Agenda buffers.
(org-speed-commands-default): Use "," as a speed command for
setting priority.

* org-agenda.el (org-agenda-mode-map): Bind
`org-agenda-priority' to `C-c ,' as it was before.
(org-agenda-show-priority): Delete.
(org-agenda-priority): Use a new argument to show priority
instead of setting it.

Thanks to Robert Horn for triggering this change.
lisp/org-agenda.el
lisp/org.el