home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / old / 5.5.019 < prev    next >
Encoding:
Internet Message Format  |  1999-10-11  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: patch 5.5.019
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.5.019
  8. Problem:    A function call in 'statusline' stops using ":q" twice from
  9.             exiting, when the last argument hasn't been edited.
  10. Solution:   Don't decrement quitmore when executing a function. (Madsen)
  11. Files:      src/ex_docmd.c
  12.  
  13.  
  14. *** ../vim-5.5.18/src/ex_docmd.c    Sat Oct  2 17:20:01 1999
  15. --- src/ex_docmd.c    Fri Oct  8 09:59:00 1999
  16. ***************
  17. *** 695,701 ****
  18.       ea.line2 = 1;
  19.   
  20.       /* when not editing the last file :q has to be typed twice */
  21. !     if (quitmore)
  22.       --quitmore;
  23.   /*
  24.    * 2. skip comment lines and leading space and colons
  25. --- 695,706 ----
  26.       ea.line2 = 1;
  27.   
  28.       /* when not editing the last file :q has to be typed twice */
  29. !     if (quitmore
  30. ! #ifdef WANT_EVAL
  31. !         /* avoid that a function call in 'statusline' does this */
  32. !         && getline != get_func_line
  33. ! #endif
  34. !         )
  35.       --quitmore;
  36.   /*
  37.    * 2. skip comment lines and leading space and colons
  38. *** ../vim-5.5.18/src/version.c    Tue Oct 12 19:33:44 1999
  39. --- src/version.c    Tue Oct 12 19:35:17 1999
  40. ***************
  41. *** 420,420 ****
  42. --- 420,421 ----
  43.   {   /* Add new patch number below this line */
  44. +     19,
  45.  
  46. --
  47. The question is:  What do you do with your life?
  48. The wrong answer is: Be the richest guy in the graveyard.
  49.                 (billionaire and Oracle founder Larry Ellison)
  50.  
  51. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
  52.   \ \    www.vim.org/iccf      www.moolenaar.net       www.vim.org    / /
  53.