comparison lisp/progmodes/python.el @ 74386:1c8bca402ae7

(python-indent): Add safe-local-variable prop.
author Richard M. Stallman <rms@gnu.org>
date Mon, 04 Dec 2006 00:32:33 +0000
parents 871131fc9087
children e3694f1cb928 f1d13e615070
comparison
equal deleted inserted replaced
74385:fcc9e01e9e6d 74386:1c8bca402ae7
406 (defcustom python-indent 4 406 (defcustom python-indent 4
407 "Number of columns for a unit of indentation in Python mode. 407 "Number of columns for a unit of indentation in Python mode.
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."
414 :type 'boolean 415 :type 'boolean
415 :group 'python) 416 :group 'python)