diff options
| author | Richard M. Stallman | 2006-12-04 00:33:19 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-12-04 00:33:19 +0000 |
| commit | a8d5f40f49e4dff1b44869ec3ca3ff454e67b275 (patch) | |
| tree | 401f5cca771f827bf19f4190c09350329c186a91 /lisp/progmodes/python.el | |
| parent | 6a80f50e17c1b13ff761651ca37cecdb5cabcfc1 (diff) | |
| download | emacs-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.el | 1 |
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 | |||
| 408 | See also `\\[python-guess-indent]'" | 408 | See 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." |