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

patch 7.1.131

Expand Messages
  • Bram Moolenaar
    Patch 7.1.131 Problem: :mksession always adds :setlocal autoread . (Christian J. Robinson) Solution: Skip boolean global/local option using global
    Message 1 of 1 , Oct 2, 2007
    • 0 Attachment
      Patch 7.1.131
      Problem: ":mksession" always adds ":setlocal autoread". (Christian J.
      Robinson)
      Solution: Skip boolean global/local option using global value.
      Files: src/option.c


      *** ../vim-7.1.130/src/option.c Wed Sep 26 22:35:06 2007
      --- src/option.c Sun Sep 30 16:21:08 2007
      ***************
      *** 8753,8758 ****
      --- 8753,8760 ----
      char *name;
      int value;
      {
      + if (value < 0) /* global/local option using global value */
      + return OK;
      if (fprintf(fd, "%s %s%s", cmd, value ? "" : "no", name) < 0
      || put_eol(fd) < 0)
      return FAIL;
      *** ../vim-7.1.130/src/version.c Mon Oct 1 22:53:27 2007
      --- src/version.c Tue Oct 2 20:39:02 2007
      ***************
      *** 668,669 ****
      --- 668,671 ----
      { /* Add new patch number below this line */
      + /**/
      + 131,
      /**/

      --
      ARTHUR: Old woman!
      DENNIS: Man!
      ARTHUR: Man. I'm sorry. Old man, What knight live in that castle over there?
      DENNIS: I'm thirty-seven.
      "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

      /// 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
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.