Mercurial > vim
annotate src/proto/main.pro @ 32389:03f2f598094d v9.0.1526
patch 9.0.1526: condition is always true
Commit: https://github.com/vim/vim/commit/d619d6a9c6fa0e4295c817a88f84f0bab9457bbe
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon May 8 15:56:21 2023 +0100
patch 9.0.1526: condition is always true
Problem: Condition is always true.
Solution: Remove unnecessary condition. (closes https://github.com/vim/vim/issues/12359)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 08 May 2023 17:00:05 +0200 |
parents | ff4473b3fc58 |
children | 626c2806d2c1 |
rev | line source |
---|---|
7 | 1 /* main.c */ |
9832
568ea507b0cd
commit https://github.com/vim/vim/commit/a357e44ccdf5cfe9f6d35cc348ca33ccd973e1a9
Christian Brabandt <cb@256bit.org>
parents:
9542
diff
changeset
|
2 int vim_main2(void); |
568ea507b0cd
commit https://github.com/vim/vim/commit/a357e44ccdf5cfe9f6d35cc348ca33ccd973e1a9
Christian Brabandt <cb@256bit.org>
parents:
9542
diff
changeset
|
3 void common_init(mparm_T *paramp); |
11307
6e1c19d3de03
patch 8.0.0539: startup test fails on Mac
Christian Brabandt <cb@256bit.org>
parents:
11177
diff
changeset
|
4 int is_not_a_term(void); |
30471
584231b9b37e
patch 9.0.0571: MS-Windows: CTRL-C can make Vim exit
Bram Moolenaar <Bram@vim.org>
parents:
29128
diff
changeset
|
5 int is_not_a_term_or_gui(void); |
29128
d8a962d7b008
patch 8.2.5084: when the GUI shows a dialog tests get stuck
Bram Moolenaar <Bram@vim.org>
parents:
19920
diff
changeset
|
6 char_u *get_gui_dialog_file(void); |
18104
e59ff7b5d7a7
patch 8.1.2047: cannot check the current state
Bram Moolenaar <Bram@vim.org>
parents:
18102
diff
changeset
|
7 int op_pending(void); |
18098
a2870e6f5b45
patch 8.1.2044: no easy way to process postponed work
Bram Moolenaar <Bram@vim.org>
parents:
11307
diff
changeset
|
8 void may_trigger_safestate(int safe); |
18116
7f57ea9a4ba8
patch 8.1.2053: SafeStateAgain not triggered if callback uses feedkeys()
Bram Moolenaar <Bram@vim.org>
parents:
18106
diff
changeset
|
9 void state_no_longer_safe(char *reason); |
7f57ea9a4ba8
patch 8.1.2053: SafeStateAgain not triggered if callback uses feedkeys()
Bram Moolenaar <Bram@vim.org>
parents:
18106
diff
changeset
|
10 int get_was_safe_state(void); |
18106
b456bba1276a
patch 8.1.2048: not clear why SafeState and SafeStateAgain are not triggered
Bram Moolenaar <Bram@vim.org>
parents:
18104
diff
changeset
|
11 void may_trigger_safestateagain(void); |
31293
ff4473b3fc58
patch 9.0.0980: the keyboard state response may end up in a shell command
Bram Moolenaar <Bram@vim.org>
parents:
30471
diff
changeset
|
12 int work_pending(void); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2340
diff
changeset
|
13 void main_loop(int cmdwin, int noexmode); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2340
diff
changeset
|
14 void getout_preserve_modified(int exitval); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2340
diff
changeset
|
15 void getout(int exitval); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2340
diff
changeset
|
16 int process_env(char_u *env, int is_viminit); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2340
diff
changeset
|
17 void mainerr_arg_missing(char_u *str); |
7 | 18 /* vim: set ft=c : */ |