Skip to content

Commit

Permalink
Global: remove mode line from headers
Browse files Browse the repository at this point in the history
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
  • Loading branch information
mothacehe authored and lucasdemarchi committed Oct 24, 2016
1 parent 53d3a79 commit 152edf7
Show file tree
Hide file tree
Showing 724 changed files with 0 additions and 1,010 deletions.
2 changes: 0 additions & 2 deletions APMrover2/APM_Config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

// This file is just a placeholder for your configuration file. If you wish to change any of the setup parameters from
// their default values, place the appropriate #define statements here.

Expand Down
2 changes: 0 additions & 2 deletions APMrover2/APMrover2.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 0 additions & 2 deletions APMrover2/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Rover.h"
#include "version.h"

Expand Down
2 changes: 0 additions & 2 deletions APMrover2/Log.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Rover.h"
#include "version.h"

Expand Down
2 changes: 0 additions & 2 deletions APMrover2/Parameters.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Rover.h"

/*
Expand Down
1 change: 0 additions & 1 deletion APMrover2/Parameters.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#pragma once

#include <AP_Common/AP_Common.h>
Expand Down
1 change: 0 additions & 1 deletion APMrover2/Rover.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
1 change: 0 additions & 1 deletion APMrover2/Rover.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 0 additions & 2 deletions APMrover2/Steering.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Rover.h"

/*****************************************
Expand Down
2 changes: 0 additions & 2 deletions APMrover2/capabilities.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Rover.h"

void Rover::init_capabilities(void)
Expand Down
2 changes: 0 additions & 2 deletions APMrover2/commands.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Rover.h"

/* Functions in this file:
Expand Down
2 changes: 0 additions & 2 deletions APMrover2/commands_logic.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Rover.h"

/********************************************************************************/
Expand Down
2 changes: 0 additions & 2 deletions APMrover2/commands_process.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Rover.h"

// called by update navigation at 10Hz
Expand Down
1 change: 0 additions & 1 deletion APMrover2/config.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
//
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 0 additions & 2 deletions APMrover2/control_modes.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Rover.h"

void Rover::read_control_switch()
Expand Down
1 change: 0 additions & 1 deletion APMrover2/defines.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#pragma once

// Internal defines, don't edit and expect things to work
Expand Down
2 changes: 0 additions & 2 deletions APMrover2/events.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Rover.h"

void Rover::update_events(void)
Expand Down
1 change: 0 additions & 1 deletion APMrover2/failsafe.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
failsafe support
Andrew Tridgell, December 2011
Expand Down
2 changes: 0 additions & 2 deletions APMrover2/navigation.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Rover.h"

//****************************************************************
Expand Down
2 changes: 0 additions & 2 deletions APMrover2/radio.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Rover.h"

/*
Expand Down
2 changes: 0 additions & 2 deletions APMrover2/sensors.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Rover.h"

void Rover::init_barometer(bool full_calibration)
Expand Down
2 changes: 0 additions & 2 deletions APMrover2/setup.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Rover.h"

#if CLI_ENABLED == ENABLED
Expand Down
1 change: 0 additions & 1 deletion APMrover2/system.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*****************************************************************************
The init_ardupilot function processes everything we need for an in - air restart
We will determine later if we are actually on the ground and process a
Expand Down
2 changes: 0 additions & 2 deletions APMrover2/test.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Rover.h"

#if CLI_ENABLED == ENABLED
Expand Down
2 changes: 0 additions & 2 deletions AntennaTracker/APM_Config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

// This file is just a placeholder for your configuration file. If
// you wish to change any of the setup parameters from their default
// values, place the appropriate #define statements here.
2 changes: 0 additions & 2 deletions AntennaTracker/AntennaTracker.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

/*
Lead developers: Matthew Ridley and Andrew Tridgell
Expand Down
2 changes: 0 additions & 2 deletions AntennaTracker/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "GCS_Mavlink.h"

#include "Tracker.h"
Expand Down
2 changes: 0 additions & 2 deletions AntennaTracker/Log.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Tracker.h"

#if LOGGING_ENABLED == ENABLED
Expand Down
2 changes: 0 additions & 2 deletions AntennaTracker/Parameters.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Tracker.h"

/*
Expand Down
1 change: 0 additions & 1 deletion AntennaTracker/Parameters.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#pragma once

#include <AP_Common/AP_Common.h>
Expand Down
2 changes: 0 additions & 2 deletions AntennaTracker/Tracker.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

/*
Lead developers: Matthew Ridley and Andrew Tridgell
Expand Down
2 changes: 0 additions & 2 deletions AntennaTracker/capabilities.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Tracker.h"

void Tracker::init_capabilities(void)
Expand Down
1 change: 0 additions & 1 deletion AntennaTracker/config.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
//
#pragma once

Expand Down
2 changes: 0 additions & 2 deletions AntennaTracker/control_auto.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Tracker.h"

/*
Expand Down
2 changes: 0 additions & 2 deletions AntennaTracker/control_manual.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Tracker.h"

/*
Expand Down
2 changes: 0 additions & 2 deletions AntennaTracker/control_scan.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Tracker.h"

/*
Expand Down
2 changes: 0 additions & 2 deletions AntennaTracker/control_servo_test.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Tracker.h"

/*
Expand Down
1 change: 0 additions & 1 deletion AntennaTracker/defines.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#pragma once

// Command/Waypoint/Location Options Bitmask
Expand Down
2 changes: 0 additions & 2 deletions AntennaTracker/radio.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Tracker.h"

// Functions to read the RC radio input
Expand Down
2 changes: 0 additions & 2 deletions AntennaTracker/sensors.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Tracker.h"

void Tracker::init_barometer(bool full_calibration)
Expand Down
2 changes: 0 additions & 2 deletions AntennaTracker/servos.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Tracker.h"

/*
Expand Down
2 changes: 0 additions & 2 deletions AntennaTracker/system.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Tracker.h"
#include "version.h"

Expand Down
2 changes: 0 additions & 2 deletions AntennaTracker/tracking.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Tracker.h"

/**
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/APM_Config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

// User specific config file. Any items listed in config.h can be overridden here.

// If you used to define your CONFIG_APM_HARDWARE setting here, it is no longer
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/APM_Config_mavlink_hil.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

// HIL_MODE SELECTION
//
// Mavlink supports
Expand Down
1 change: 0 additions & 1 deletion ArduCopter/AP_Rally.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
1 change: 0 additions & 1 deletion ArduCopter/AP_Rally.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/AP_State.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Copter.h"

// set_home_state - update home state
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/ArduCopter.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/Attitude.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Copter.h"

// get_smoothing_gain - returns smoothing gain to be passed into attitude_control.input_euler_angle_roll_pitch_euler_rate_yaw
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/Copter.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
1 change: 0 additions & 1 deletion ArduCopter/Copter.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Copter.h"
#include "version.h"

Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/Log.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Copter.h"
#include "version.h"

Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/Parameters.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Copter.h"

/*
Expand Down
1 change: 0 additions & 1 deletion ArduCopter/Parameters.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#pragma once

#include <AP_Common/AP_Common.h>
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/UserCode.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Copter.h"

#ifdef USERHOOK_INIT
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/UserVariables.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

// user defined variables

// example variables used in Wii camera testing - replace with your own
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/afs_copter.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

/*
copter specific AP_AdvancedFailsafe class
*/
Expand Down
1 change: 0 additions & 1 deletion ArduCopter/afs_copter.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/arming_checks.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Copter.h"

// performs pre-arm checks. expects to be called at 1hz.
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/baro_ground_effect.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Copter.h"

void Copter::update_ground_effect_detector(void)
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/capabilities.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Copter.h"

void Copter::init_capabilities(void)
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/commands.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Copter.h"

/*
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/commands_logic.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Copter.h"

// start_command - this function will be called when the ap_mission lib wishes to start a new command
Expand Down
2 changes: 0 additions & 2 deletions ArduCopter/compassmot.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

#include "Copter.h"

/*
Expand Down
1 change: 0 additions & 1 deletion ArduCopter/config.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
//
#pragma once

Expand Down
1 change: 0 additions & 1 deletion ArduCopter/control_acro.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Copter.h"


Expand Down
1 change: 0 additions & 1 deletion ArduCopter/control_althold.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Copter.h"


Expand Down
Loading

0 comments on commit 152edf7

Please sign in to comment.