view src/pathdef.sh @ 32282:e47739c49487 v9.0.1472

patch 9.0.1472: ":drop fname" may change the last used tab page Commit: https://github.com/vim/vim/commit/8281a16efc76197f7b0b2a385dffb44fce66d33e Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 20 18:07:57 2023 +0100 patch 9.0.1472: ":drop fname" may change the last used tab page Problem: ":drop fname" may change the last used tab page. Solution: Restore the last used tab page when :drop has changed it. (closes #12087)
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Apr 2023 19:15:04 +0200
parents 3fc0f57ecb91
children
line wrap: on
line source

#! /bin/sh
#
# pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists
#
if test -s auto/link.sed; then
  cp auto/pathdef.c auto/pathdef.tmp
  sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c
  rm -f auto/pathdef.tmp
fi

# vim:set sw=2 et: