home *** CD-ROM | disk | FTP | other *** search
- To: vim-dev@vim.org
- Subject: Patch 6.1.169
- Fcc: outbox
- From: Bram Moolenaar <Bram@moolenaar.net>
- Mime-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
- ------------
-
- Patch 6.1.169
- Problem: bufexists() finds a buffer by using the name of a symbolic link to
- it, but bufnr() doesn't. (Yegappan Lakshmanan)
- Solution: When bufnr() can't find a buffer, try using the same method as
- bufexists().
- Files: src/eval.c
-
-
- *** ../vim61.168/src/eval.c Sun Aug 4 21:51:53 2002
- --- src/eval.c Thu Aug 29 21:09:09 2002
- ***************
- *** 2944,2949 ****
- --- 2944,2954 ----
-
- p_magic = save_magic;
- p_cpo = save_cpo;
- +
- + /* If not found, try expanding the name, like done for bufexists(). */
- + if (buf == NULL)
- + buf = find_buffer(avar);
- +
- return buf;
- }
-
- *** ../vim61.168/src/version.c Fri Aug 30 22:25:09 2002
- --- src/version.c Fri Aug 30 22:26:17 2002
- ***************
- *** 608,609 ****
- --- 608,611 ----
- { /* Add new patch number below this line */
- + /**/
- + 169,
- /**/
-
- --
- Nothing is impossible for the man who doesn't have to do it.
-
- /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\
- /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\
- \\\ Project leader for A-A-P -- http://www.a-a-p.org ///
- \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
-