Mercurial > vim
view src/os_qnx.h @ 26784:c95a3f25b6b1 v8.2.3920
patch 8.2.3920: restoring directory after using another window is inefficient
Commit: https://github.com/vim/vim/commit/90c317f2246a7fb4bd4e3feb0778b53627bc9fad
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 28 13:15:05 2021 +0000
patch 8.2.3920: restoring directory after using another window is inefficient
Problem: Restoring directory after using another window is inefficient.
Solution: Only restore the directory for win_execute(). Apply 'autochdir'
only when needed.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 28 Dec 2021 14:30:04 +0100 |
parents | 6e3dc2d630c2 |
children |
line wrap: on
line source
/* vi:set ts=8 sts=4 sw=4 noet: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ #ifdef __QNXNTO__ # include <sys/procmgr.h> #endif #define USE_TMPNAM #define POSIX // Used by pty.c #if defined(FEAT_GUI_PHOTON) extern int is_photon_available; #endif