summaryrefslogtreecommitdiffstats
path: root/Misc/python-mode.el
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-03-20 17:06:11 (GMT)
committerBarry Warsaw <barry@python.org>1998-03-20 17:06:11 (GMT)
commitbeef9e73c3634885b260dfbeb6df95a7f8f8dbca (patch)
treea563f1af0735866673c001f9d22fd73bd7888b75 /Misc/python-mode.el
parent8ca702823d293288183f5fe4faa2c2916747dace (diff)
downloadcpython-beef9e73c3634885b260dfbeb6df95a7f8f8dbca.zip
cpython-beef9e73c3634885b260dfbeb6df95a7f8f8dbca.tar.gz
cpython-beef9e73c3634885b260dfbeb6df95a7f8f8dbca.tar.bz2
Removed all the mixed indentation face stuff. It's not as helpful as
it at first seems. I think we've got a good idea of what to do, but it'll be a bit of work... for later.
Diffstat (limited to 'Misc/python-mode.el')
-rw-r--r--Misc/python-mode.el9
1 files changed, 0 insertions, 9 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index 9b64196..2f5f767 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -309,13 +309,6 @@ source code of the innermost frame.")
:type 'function
:group 'python)
-(defface py-mixed-indentation-face nil
- "Face that mixed indentation is displayed in.
-To quickly see mixed tabs/spaces, use \\[customize-face] and set the
-background of `py-mixed-indentation-face' to something obnoxious (like
-\"Yellow\")."
- :group 'python)
-
;; Not customizable
(defvar py-master-file nil
"If non-nil, execute the named file instead of the buffer's file.
@@ -378,8 +371,6 @@ support for features needed by `python-mode'.")
;; functions
'("\\bdef[ \t]+\\([a-zA-Z_]+[a-zA-Z0-9_]*\\)"
1 font-lock-function-name-face)
- ;; mixed tabs and spaces indentation
- '("^[ \t]*\\( \t\\|\t \\)[ \t]*" 0 py-mixed-indentation-face)
))
"Additional expressions to highlight in Python mode.")
(put 'python-mode 'font-lock-defaults '(python-font-lock-keywords))