Loading ...
Sorry, an error occurred while loading the content.

51942Re: Global cpo_save

Expand Messages
  • Bram Moolenaar
    Sep 3, 2008
    • 0 Attachment
      Bill McCarthy wrote:

      > Hello Vim Developers,
      >
      > I noticed a global variable that doesn't appear to be
      > intentionally set. The variable `cpo_save' undecorated and
      > outside a function is implicitly global.
      >
      > Unfortunately `verbose let' does not reveal where it is set.
      > I found three places - there could be more:
      >
      > vim72/ftplugin/hamster.vim
      > vim72/ftplugin/vim.vim
      > vim72/plugin/matchparen.vim
      >
      > The solution is to (1) prefix with `s:', (2) unlet, or (3)
      > do both.

      I'll fix vim.vim and matchparen.vim. Sorry I didn't notice this mistake
      before.

      I'll leave hamster.vim to David.

      --
      How To Keep A Healthy Level Of Insanity:
      15. Five days in advance, tell your friends you can't attend their
      party because you're not in the mood.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Show all 7 messages in this topic