Permalink
Browse files

put set foldlevel=1 back into OrgAgendaToBuf()

  • Loading branch information...
1 parent edba463 commit b6072ce0d6334145e431a024f8e8ad6fb82cfdcc @hsitz committed Dec 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ftplugin/org.vim
View
@@ -6207,7 +6207,7 @@ function! s:OrgAgendaToBuf()
"if &fdm != 'expr'
" set fdm=expr
"endif
- "set foldlevel=1
+ set foldlevel=1
let newhead = matchstr(s:GetPlacedSignsString(bufnr("%")),'line=\zs\d\+\ze\s\+id=' . g:showndx)
let newhead = s:OrgGetHead_l(newhead)
execute newhead

0 comments on commit b6072ce

Please sign in to comment.