summaryrefslogtreecommitdiff
path: root/scripting/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-10-26 22:13:33 +0200
committerMichael Stahl <mstahl@redhat.com>2016-10-26 22:16:08 +0200
commitaa70294ffc0abbeeb30b4c4001e4db8b3539bf75 (patch)
tree225914ab32f8c72269b06b82de20cf7e959600e4 /scripting/source
parent22d0970e690d7a623619a84d5054b6f92b7acea4 (diff)
normalize existing emacs/vim mode-lines in python files
Bunch of these were setting C++ or Make modes and icky tabs... Also, reportedly Emacs can figure out to enable python-mode automatically. Change-Id: I50072488fb92cb4d27aa3f74f717a28ae3967543
Diffstat (limited to 'scripting/source')
-rw-r--r--scripting/source/pyprov/msgbox.py5
-rw-r--r--scripting/source/pyprov/pythonscript.py2
2 files changed, 5 insertions, 2 deletions
diff --git a/scripting/source/pyprov/msgbox.py b/scripting/source/pyprov/msgbox.py
index 3f2be64f4d13..f9c93df174cb 100644
--- a/scripting/source/pyprov/msgbox.py
+++ b/scripting/source/pyprov/msgbox.py
@@ -1,5 +1,4 @@
-# -*- tab-width: 4; indent-tabs-mode: nil -*-
-#
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
#
# This file is part of the LibreOffice project.
#
@@ -238,3 +237,5 @@ if __name__ == '__main__':
myBox.numberOflines = 2
print(myBox.show("A small message",0,"Dialog title"))
+
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/scripting/source/pyprov/pythonscript.py b/scripting/source/pyprov/pythonscript.py
index e4d6a2e965b5..6089d14edefe 100644
--- a/scripting/source/pyprov/pythonscript.py
+++ b/scripting/source/pyprov/pythonscript.py
@@ -1,3 +1,4 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
#
# This file is part of the LibreOffice project.
#
@@ -1077,3 +1078,4 @@ g_ImplementationHelper.addImplementation( \
log.debug( "pythonscript finished intializing" )
+# vim: set shiftwidth=4 softtabstop=4 expandtab: