mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 03:02:52 +00:00
Don't add deadlines if the user has configured to exclude them locally
Patch by Matt Lundin
This commit is contained in:
parent
c0707b1f31
commit
3598ed89d9
|
@ -3281,8 +3281,7 @@ given in `org-agenda-start-on-weekday'."
|
|||
(catch 'nextfile
|
||||
(org-check-agenda-file file)
|
||||
(let ((org-agenda-entry-types org-agenda-entry-types))
|
||||
(if org-agenda-include-deadlines
|
||||
(add-to-list 'org-agenda-entry-types :deadline)
|
||||
(unless org-agenda-include-deadlines
|
||||
(setq org-agenda-entry-types
|
||||
(delq :deadline org-agenda-entry-types)))
|
||||
(cond
|
||||
|
|
Loading…
Reference in a new issue