diff --git a/src/bisection-example-flexible.cc b/src/bisection-example-flexible.cc
index 62d3d7df13cb01ac85a379c3c06c08e1f6f16ac9..f66915bc87f685a315f697d3fb6106c588ae9a8b 100644
--- a/src/bisection-example-flexible.cc
+++ b/src/bisection-example-flexible.cc
@@ -1,5 +1,4 @@
-/* -*- mode:c++; mode: flymake -*- */
-
+/* -*- mode:c++; mode: flymake; mode:semantic -*- */
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif