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 | |
| parent | 6a80f50e17c1b13ff761651ca37cecdb5cabcfc1 (diff) | |
| download | emacs-a8d5f40f49e4dff1b44869ec3ca3ff454e67b275.tar.gz emacs-a8d5f40f49e4dff1b44869ec3ca3ff454e67b275.zip | |
(python-indent): Add safe-local-variable prop.
| -rw-r--r-- | lisp/ChangeLog | 24 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 1 |
2 files changed, 25 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fc4eee83553..df8e9da2604 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,22 @@ | |||
| 1 | 2006-12-04 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * progmodes/python.el (python-indent): Add safe-local-variable prop. | ||
| 4 | |||
| 5 | * dired.el (dired-revert): Turn off dired-after-readin-hook | ||
| 6 | around call to dired-readin. | ||
| 7 | |||
| 8 | * menu-bar.el (menu-bar-make-toggle): Add "globally" | ||
| 9 | to echo area messages. | ||
| 10 | <indicate-empty-lines, case-fold-search>: | ||
| 11 | Add "globally" to Help string. | ||
| 12 | <case-fold-search>: MESSAGE arg need not say "globally". | ||
| 13 | (menu-bar-edit-menu <paste-from-menu>): Renamed from select-and-paste. | ||
| 14 | |||
| 15 | 2006-12-03 Liam Healy <lnp@healy.washington.dc.us> (tiny change) | ||
| 16 | |||
| 17 | * outline.el (outline-end-of-subtree): Don't leave an empty | ||
| 18 | line hidden as we would a real next heading. | ||
| 19 | |||
| 1 | 2006-12-03 Ken Manheimer <ken.manheimer@gmail.com> | 20 | 2006-12-03 Ken Manheimer <ken.manheimer@gmail.com> |
| 2 | 21 | ||
| 3 | * allout.el (allout-ascend): Add an optional argument to preserve | 22 | * allout.el (allout-ascend): Add an optional argument to preserve |
| @@ -76,7 +95,12 @@ | |||
| 76 | 95 | ||
| 77 | * descr-text.el (describe-char-unicodedata-file): Fix typo in docstring. | 96 | * descr-text.el (describe-char-unicodedata-file): Fix typo in docstring. |
| 78 | 97 | ||
| 98 | <<<<<<< ChangeLog | ||
| 99 | >>>>>>> 1.10388 | ||
| 100 | 2006-12-01 Vinicius Jose Latorre <viniciusjl@ig.com.br> | ||
| 101 | ======= | ||
| 79 | 2006-12-01 Ben North <ben@redfrontdoor.org> | 102 | 2006-12-01 Ben North <ben@redfrontdoor.org> |
| 103 | >>>>>>> 1.10392 | ||
| 80 | 104 | ||
| 81 | * paren.el: Fix the highlight overlay extension when the user types a | 105 | * paren.el: Fix the highlight overlay extension when the user types a |
| 82 | sequence of char very fast just before the open parenthesis. | 106 | sequence of char very fast just before the open parenthesis. |
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." |