summaryrefslogtreecommitdiffstats
path: root/src/file.h
diff options
context:
space:
mode:
authorTamas TEVESZ <ice@extreme.hu>2017-02-12 18:05:23 +0100
committerTamas TEVESZ <ice@extreme.hu>2017-02-12 18:05:23 +0100
commit92fa68d2a711bdc51aaa4f203e603cb5d796fc6d (patch)
treec6228d988a8e709f7303940dbb33985de8c70af4 /src/file.h
parent2c55439a33935119d5a9581ae9f4ecc9271c031c (diff)
Process $HOME/.scimrc after loading a file
Factor a loadrc() function out of file.c:erasedb(); call it explicitly after loading a file in main.c:load_sc(). This ensures $HOME/.scimrc is processed and loaded after the file passed on the command line is loaded.
Diffstat (limited to 'src/file.h')
-rw-r--r--src/file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file.h b/src/file.h
index fb5f2bd..eeee514 100644
--- a/src/file.h
+++ b/src/file.h
@@ -1,4 +1,5 @@
void erasedb();
+void loadrc(void);
int modcheck();
int savefile();
int writefile(char *fname, int r0, int c0, int rn, int cn);