0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-12 08:39:56 +00:00

Agenda: Fix remote editing of priorities from agenda.

There was a bug when the entry to be edited was invisible.
This commit is contained in:
Carsten Dominik 2009-02-20 09:30:31 +01:00
parent be7d0c4a6c
commit 40a38050fd
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
* org.el (org-priority): Also find invisible heading.
* org-colview-xemacs.el (org-columns-edit-value): No special
treatment for `org-todo' prefix.

View file

@ -9580,7 +9580,7 @@ ACTION can be `set', `up', `down', or a character."
(setq action (or action 'set))
(let (current new news have remove)
(save-excursion
(org-back-to-heading)
(org-back-to-heading t)
(if (looking-at org-priority-regexp)
(setq current (string-to-char (match-string 2))
have t)