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 / 6.0.061 < prev    next >
Encoding:
Internet Message Format  |  2001-10-31  |  2.2 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.061
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.0.061
  11. Problem:    The toolbar buttons to load and save a session do not correctly
  12.         use v:this_session.
  13. Solution:   Check for v:this_session to be empty instead of existing.
  14. Files:        runtime/menu.vim
  15.  
  16.  
  17. *** ../vim60.60/runtime/menu.vim    Thu Nov  1 14:37:02 2001
  18. --- runtime/menu.vim    Wed Oct 31 16:47:20 2001
  19. ***************
  20. *** 839,858 ****
  21.   
  22.   " Select a session to load; default to current session name if present
  23.   fun! s:LoadVimSesn()
  24. !   if exists("this_session")
  25. !     let name = this_session
  26.     else
  27. !     let name = "session.vim"
  28.     endif
  29.     execute "browse so " . name
  30.   endfun
  31.   
  32.   " Select a session to save; default to current session name if present
  33.   fun! s:SaveVimSesn()
  34. !   if !exists("this_session")
  35. !     let this_session = "session.vim"
  36.     endif
  37. !   execute "browse mksession! " . this_session
  38.   endfun
  39.   
  40.   endif
  41. --- 839,858 ----
  42.   
  43.   " Select a session to load; default to current session name if present
  44.   fun! s:LoadVimSesn()
  45. !   if strlen(v:this_session) > 0
  46. !     let name = v:this_session
  47.     else
  48. !     let name = "Session.vim"
  49.     endif
  50.     execute "browse so " . name
  51.   endfun
  52.   
  53.   " Select a session to save; default to current session name if present
  54.   fun! s:SaveVimSesn()
  55. !   if strlen(v:this_session) == 0
  56. !     let v:this_session = "Session.vim"
  57.     endif
  58. !   execute "browse mksession! " . v:this_session
  59.   endfun
  60.   
  61.   endif
  62. *** ../vim60.60/src/version.c    Thu Nov  1 15:03:42 2001
  63. --- src/version.c    Thu Nov  1 15:21:01 2001
  64. ***************
  65. *** 608,609 ****
  66. --- 608,611 ----
  67.   {   /* Add new patch number below this line */
  68. + /**/
  69. +     61,
  70.   /**/
  71.  
  72. -- 
  73. SECOND SOLDIER: It could be carried by an African swallow!
  74. FIRST SOLDIER:  Oh  yes! An African swallow maybe ... but not a European
  75.                 swallow. that's my point.
  76.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  77.  
  78.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  79. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  80.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  81.