summaryrefslogtreecommitdiff
path: root/src/if_cscope.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r--src/if_cscope.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c
index 086c82963..9e7a362b2 100644
--- a/src/if_cscope.c
+++ b/src/if_cscope.c
@@ -1178,12 +1178,12 @@ cs_find_common(
}
# ifdef FEAT_AUTOCMD
- if (*qfpos != '0')
+ if (*qfpos != '0'
+ && apply_autocmds(EVENT_QUICKFIXCMDPRE, (char_u *)"cscope",
+ curbuf->b_fname, TRUE, curbuf))
{
- apply_autocmds(EVENT_QUICKFIXCMDPRE, (char_u *)"cscope",
- curbuf->b_fname, TRUE, curbuf);
# ifdef FEAT_EVAL
- if (did_throw || force_abort)
+ if (aborting())
return FALSE;
# endif
}