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 --- pyuno/source/module/uno.py | 4 ++-- pyuno/source/module/unohelper.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pyuno/source/module') diff --git a/pyuno/source/module/uno.py b/pyuno/source/module/uno.py index 29cc6841131c..bccf22d0f8ac 100644 --- a/pyuno/source/module/uno.py +++ b/pyuno/source/module/uno.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -548,4 +548,4 @@ def _uno_extract_printable_stacktrace(trace): return ''.join(traceback.format_tb(trace)) -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/source/module/unohelper.py b/pyuno/source/module/unohelper.py index a55aaa8483fa..e1e7e35b641c 100644 --- a/pyuno/source/module/unohelper.py +++ b/pyuno/source/module/unohelper.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -294,4 +294,4 @@ class _FactoryHelper_( XSingleComponentFactory, XServiceInfo, Base ): def createInstanceWithArgumentsAndContext( self, args, context ): return self.clazz( context, *args ) -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: -- cgit