title: Vim autocommand produces E488: Trailing characters
body: <p>I'm trying to insert the following autocommand into Vim:</p>
  
  <pre><code>autocmd BufEnter *.c :call SourceTagsVim()&lt;CR&gt;
  
  function! SourceTagsVim()
  let s:fname = expand('&lt;afile&gt;:p:h') . 'tags.vim'
      if filereadable(s:fname)
          exe 'so ' . s:fname
      else
          echo s:fname " could not be read"
      endif
  endfunction
  </code></pre>
  
  <p>But vim keeps telling me the following error message:</p>
  
  <pre><code>Error detected while processing BufEnter Auto commands for "*.c":
  E488: Trailing charcters
  </code></pre>
  
  <p>But the autocommand executes fine. Any Idea what I'm doing wrong. I also used dos2unix on my vimrc to ensure the correct line endings.</p>
  
  <p>Thanks for the help,
  Andreas</p>