Commit 0048b754 authored by David Faure's avatar David Faure
Browse files

Fix unwanted removal of /* before emacs mode line, which broke compilation

Testcase: kio/src/urifilters/shorturi/kshorturifilter.cpp
parent 3d4f2a4f
......@@ -82,7 +82,7 @@ uncrustify --no-backup -c "$cfg" $files
grep '^\S* \S*::.*) {$' $files && echo "WARNING: check for wrong '{' placement in method definitions, in above grep results"
# Remove old emacs mode-lines
perl -pi -e '$_ = "" if /c-basic-offset: [1-8]/' $files
perl -pi -e 's/ *-\*- c-basic-offset: [1-8] -\*-//' $files
# Remove old kate mode-lines
perl -pi -e '$_ = "" if /kate: .*indent-width/ || /kate:.*tab-width/' $files
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment