Hi

Attached patch fixes a minor issue with the ":options" command.
Command ":options" may not show the 'autochdir' option even
though it may be available in vim.

Attached patch fixes it.

This is related to the following email thread:

http://groups.google.com/group/vim_use/browse_thread/thread/0aec00dbd5853d97/53f8066a27e647ea

Regards
-- Dominique

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff -r b67b0b5a93d3 runtime/optwin.vim
--- a/runtime/optwin.vim	Fri Jul 23 22:27:03 2010 +0200
+++ b/runtime/optwin.vim	Sat Jul 24 10:38:45 2010 +0200
@@ -257,7 +257,7 @@
 call <SID>OptionG("pa", &pa)
 call append("$", "cdpath\tlist of directory names used for :cd")
 call <SID>OptionG("cd", &cd)
-if has("netbeans_intg") || has("sun_workshop")
+if exists("+autochdir")
   call append("$", "autochdir\tchange to directory of file in buffer")
   call <SID>BinOptionG("acd", &acd)
 endif

Raspunde prin e-mail lui