summaryrefslogtreecommitdiff
path: root/src/quickfix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index 2ffce40a8..a29f06784 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -2839,7 +2839,12 @@ ex_cfile(eap)
wp = curwin;
if (*eap->arg != NUL)
+ {
set_string_option_direct((char_u *)"ef", -1, eap->arg, OPT_FREE);
+# ifdef FEAT_EVAL
+ set_option_scriptID((char_u *)"ef", current_SID);
+# endif
+ }
/*
* This function is used by the :cfile, :cgetfile and :caddfile