aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorRichard M. Stallman2006-12-04 00:33:19 +0000
committerRichard M. Stallman2006-12-04 00:33:19 +0000
commita8d5f40f49e4dff1b44869ec3ca3ff454e67b275 (patch)
tree401f5cca771f827bf19f4190c09350329c186a91 /lisp/progmodes/python.el
parent6a80f50e17c1b13ff761651ca37cecdb5cabcfc1 (diff)
downloademacs-a8d5f40f49e4dff1b44869ec3ca3ff454e67b275.tar.gz
emacs-a8d5f40f49e4dff1b44869ec3ca3ff454e67b275.zip
(python-indent): Add safe-local-variable prop.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 24e9f65f180..7a62cfa477c 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -408,6 +408,7 @@ The criteria are that the line isn't a comment or in string and
408See also `\\[python-guess-indent]'" 408See also `\\[python-guess-indent]'"
409 :group 'python 409 :group 'python
410 :type 'integer) 410 :type 'integer)
411(put 'python-indent 'safe-local-variable 'integerp)
411 412
412(defcustom python-guess-indent t 413(defcustom python-guess-indent t
413 "Non-nil means Python mode guesses `python-indent' for the buffer." 414 "Non-nil means Python mode guesses `python-indent' for the buffer."