Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix for new bug when running date-based agendas

  • Loading branch information...
commit cf9c9879886d46c094bac6f19186e59d12492c6d 1 parent 9f7c216
@hsitz authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 ftplugin/org.vim
View
5 ftplugin/org.vim
@@ -313,7 +313,7 @@ function! s:RunCustom(search)
endif
let mydict = item
if mydict.type ==? 'agenda'
- let mydate = DateCueResult( get(mydict,agenda_date,''), s:Today())
+ let mydate = DateCueResult( get(mydict,'agenda_date',''), s:Today())
let mydur = get(mydict, 'agenda_duration','w')
let mydur = (mydur == 'w') ? '7' : (mydur == 'd' ? '1' : mydur)
@@ -6864,6 +6864,9 @@ function! OrgAgendaDashboard()
endif
finally
if bufname('%') == '__Agenda__'
+ if !exists("b:v")
+ let b:v = {}
+ endif
let b:v.agenda_files = copy(g:agenda_files)
let @/=''
endif
Please sign in to comment.
Something went wrong with that request. Please try again.