mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-20 19:24:20 +00:00
Fix bug with missing state notes when calling org-todo with prefix arg.
Reported by Robert Goldman.
This commit is contained in:
parent
24d80b3928
commit
c7ff3d46e1
@ -2,6 +2,8 @@
|
||||
|
||||
* org.el (org-entry-properties): Add CATEGORY property, iven if it
|
||||
is not defined as a property in this entry.
|
||||
(org-add-log-note): Mask prefix argument when immediately storing
|
||||
the note.
|
||||
|
||||
2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
|
||||
|
||||
|
@ -8439,7 +8439,7 @@ EXTRA is additional text that will be inserted into the notes buffer."
|
||||
(org-switch-to-buffer-other-window "*Org Note*")
|
||||
(erase-buffer)
|
||||
(if (memq org-log-note-how '(time state))
|
||||
(org-store-log-note)
|
||||
(let (current-prefix-arg) (org-store-log-note))
|
||||
(let ((org-inhibit-startup t)) (org-mode))
|
||||
(insert (format "# Insert note for %s.
|
||||
# Finish with C-c C-c, or cancel with C-c C-k.\n\n"
|
||||
|
Loading…
Reference in New Issue
Block a user