Mercurial > vim
view src/proto/if_xcmdsrv.pro @ 16716:5a541d459ef7 v8.1.1360
patch 8.1.1360: buffer left 'nomodifiable' after :substitute
commit https://github.com/vim/vim/commit/80341bcd89764d96f87859a3aac8bc00aad1d762
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 20 20:34:51 2019 +0200
patch 8.1.1360: buffer left 'nomodifiable' after :substitute
Problem: Buffer left 'nomodifiable' after :substitute. (Ingo Karkat)
Solution: Save the value of 'modifiable' earlier' (Christian Brabandt,
closes #4403)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 20 May 2019 20:45:06 +0200 |
parents | 71311d899b42 |
children |
line wrap: on
line source
/* if_xcmdsrv.c */ int serverRegisterName(Display *dpy, char_u *name); void serverChangeRegisteredWindow(Display *dpy, Window newwin); int serverSendToVim(Display *dpy, char_u *name, char_u *cmd, char_u **result, Window *server, int asExpr, int timeout, int localLoop, int silent); char_u *serverGetVimNames(Display *dpy); Window serverStrToWin(char_u *str); int serverSendReply(char_u *name, char_u *str); int serverReadReply(Display *dpy, Window win, char_u **str, int localLoop, int timeout); int serverPeekReply(Display *dpy, Window win, char_u **str); void serverEventProc(Display *dpy, XEvent *eventPtr, int immediate); void server_parse_messages(void); int server_waiting(void); /* vim: set ft=c : */