From aa70294ffc0abbeeb30b4c4001e4db8b3539bf75 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 26 Oct 2016 22:13:33 +0200 Subject: 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 --- sfx2/qa/python/check_sidebar.py | 4 ++-- sfx2/qa/python/check_sidebar_registry.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sfx2/qa') diff --git a/sfx2/qa/python/check_sidebar.py b/sfx2/qa/python/check_sidebar.py index 7599e4dbb179..4dd3a5ddd35b 100644 --- a/sfx2/qa/python/check_sidebar.py +++ b/sfx2/qa/python/check_sidebar.py @@ -1,4 +1,4 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -169,4 +169,4 @@ class CheckSidebar(unittest.TestCase): if __name__ == "__main__": unittest.main() -# vim: set noet sw=4 ts=4: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/sfx2/qa/python/check_sidebar_registry.py b/sfx2/qa/python/check_sidebar_registry.py index 9635f27010d6..70b679a80e25 100644 --- a/sfx2/qa/python/check_sidebar_registry.py +++ b/sfx2/qa/python/check_sidebar_registry.py @@ -1,4 +1,4 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -89,4 +89,4 @@ class CheckSidebarRegistry(unittest.TestCase): if __name__ == "__main__": unittest.main() -# vim: set noet sw=4 ts=4: +# vim: set shiftwidth=4 softtabstop=4 expandtab: -- cgit