Skip to content

Commit

Permalink
docs + abort
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcWeber committed Jan 9, 2012
1 parent d3710fb commit a2676b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autoload/cached_file_contents.vim
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ let s:define_cache_file = "let this_dir = s:c['cache_dir'].'/cached-file-conents
"
" default: what to return if file doesn't exist
" think twice about adding lines. This function is called many times.
function! cached_file_contents#CachedFileContents(file, func, ...)
function! cached_file_contents#CachedFileContents(file, func, ...) abort
let ignore_ftime = a:0 > 0 ? a:1 : 0
" using string for default so that is evaluated when needed only
let use_file_cache = get(a:func, 'use_file_cache', 0)
Expand Down
2 changes: 1 addition & 1 deletion doc/funcref.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Use *funcref#Function* to create a special dict called

REASONS ~
Creating a Vim funcref pointing to an autoload function will make Vim source
that file. This is not lazy enough.
that file. This is not lazy enough. (Seems to be no longer true? Has this changed?)

A Vim function reference neither allows attaching arguments nor self.

Expand Down

0 comments on commit a2676b4

Please sign in to comment.