diff --git a/src/bisection-example-new.cc b/src/bisection-example-new.cc
index 4ac1d42e00324193048b331e060e24831ea1b3bb..f5bc2f02fc7fbc4d0f8f39d07034cf4144135ee7 100644
--- a/src/bisection-example-new.cc
+++ b/src/bisection-example-new.cc
@@ -1,4 +1,4 @@
-/* -*- mode:c++; mode: flymake; mode:semantic -*- */
+/* -*- mode:c++; mode:semantic -*- */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
diff --git a/src/mynonlinearity.cc b/src/mynonlinearity.cc
index 4fe2eb5e17355f613c0ede8308b0f4dd0470877d..db756cbb49fdbb9fd80f47eb2adfb621ed2a9883 100644
--- a/src/mynonlinearity.cc
+++ b/src/mynonlinearity.cc
@@ -1,4 +1,4 @@
-/* -*- mode:c++; mode: flymake; mode:semantic -*- */
+/* -*- mode:c++; mode:semantic -*- */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"