summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-04-25 21:47:22 (GMT)
committer Nicolas Goaziou <mail@nicolasgoaziou.fr>2017-04-25 21:47:22 (GMT)
commit32e1ca29335ee12ce8317c19b4d388d97e1ac74c (patch)
tree81b0deb8ef28f6dc99a8a2306ba982eee31898f6
parent9874458468d527a4ac0b520a8771e0b6eaed4a9b (diff)
parentda83e7d583895976a2398becbb995bcce1f729be (diff)
downloadorg-mode-master.zip
org-mode-master.tar.gz
Merge branch 'maint'HEADmaster
-rw-r--r--lisp/org-agenda.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index cf9351a..78c1a37 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -4971,7 +4971,11 @@ of what a project is and how to check if it stuck, customize the variable
(setq org-agenda-buffer-name (buffer-name))
(with-current-buffer org-agenda-buffer-name
(setq org-agenda-redo-command
- `(org-agenda-list-stuck-projects ,current-prefix-arg)))))
+ `(org-agenda-list-stuck-projects ,current-prefix-arg))
+ (let ((inhibit-read-only t))
+ (add-text-properties
+ (point-min) (point-max)
+ `(org-redo-cmd ,org-agenda-redo-command))))))
;;; Diary integration