Mercurial > vim
annotate src/proto/cmdhist.pro @ 28459:52ef65c0637f v8.2.4754
patch 8.2.4754: using cached values after unsetting some environment variables
Commit: https://github.com/vim/vim/commit/7714231bb5b15f7c85453f3945c108478de1d08a
Author: LemonBoy <thatlemon@gmail.com>
Date: Fri Apr 15 20:50:46 2022 +0100
patch 8.2.4754: using cached values after unsetting some environment variables
Problem: Still using cached values after unsetting some known environment
variables.
Solution: Take care of the side effects. (closes #10194)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 15 Apr 2022 22:00:03 +0200 |
parents | 05b240971884 |
children | ffeda71f42d7 |
rev | line source |
---|---|
17652
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* cmdhist.c */ |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 int get_hislen(void); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 histentry_T *get_histentry(int hist_type); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 void set_histentry(int hist_type, histentry_T *entry); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 int *get_hisidx(int hist_type); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 int *get_hisnum(int hist_type); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 int hist_char2type(int c); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 char_u *get_history_arg(expand_T *xp, int idx); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 void init_history(void); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 void clear_hist_entry(histentry_T *hisptr); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 int in_history(int type, char_u *str, int move_to_front, int sep, int writing); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 void add_to_history(int histype, char_u *new_entry, int in_map, int sep); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 void f_histadd(typval_T *argvars, typval_T *rettv); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 void f_histdel(typval_T *argvars, typval_T *rettv); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
15 void f_histget(typval_T *argvars, typval_T *rettv); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
16 void f_histnr(typval_T *argvars, typval_T *rettv); |
18840
05b240971884
patch 8.1.2407: proto files, dependencies and build instructions outdated
Bram Moolenaar <Bram@vim.org>
parents:
17652
diff
changeset
|
17 void remove_key_from_history(void); |
05b240971884
patch 8.1.2407: proto files, dependencies and build instructions outdated
Bram Moolenaar <Bram@vim.org>
parents:
17652
diff
changeset
|
18 void ex_history(exarg_T *eap); |
17652
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
19 /* vim: set ft=c : */ |