aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorMichael R. Mauger2017-07-03 15:32:41 -0400
committerMichael R. Mauger2017-07-03 15:32:41 -0400
commit776635c01abd4aa759e7aa9584b513146978568c (patch)
tree554f444bc96cb6b05435e8bf195de4df1b00df8f /lisp/progmodes/python.el
parent77083e2d34ba5559ae2899d3b03cf08c2e6c5ad4 (diff)
parent4cd0db3d6e6e4d5bd49283483bdafbbfc0f583f1 (diff)
downloademacs-776635c01abd4aa759e7aa9584b513146978568c.tar.gz
emacs-776635c01abd4aa759e7aa9584b513146978568c.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 2697f1a3107..464b931cffc 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1048,13 +1048,13 @@ possibilities can be narrowed to specific indentation points."
1048 (max line-indentation base-indent))) 1048 (max line-indentation base-indent)))
1049 (`(,(or :after-block-start 1049 (`(,(or :after-block-start
1050 :after-backslash-first-line 1050 :after-backslash-first-line
1051 :after-backslash-assignment-continuation
1051 :inside-paren-newline-start) . ,start) 1052 :inside-paren-newline-start) . ,start)
1052 ;; Add one indentation level. 1053 ;; Add one indentation level.
1053 (goto-char start) 1054 (goto-char start)
1054 (+ (current-indentation) python-indent-offset)) 1055 (+ (current-indentation) python-indent-offset))
1055 (`(,(or :inside-paren 1056 (`(,(or :inside-paren
1056 :after-backslash-block-continuation 1057 :after-backslash-block-continuation
1057 :after-backslash-assignment-continuation
1058 :after-backslash-dotted-continuation) . ,start) 1058 :after-backslash-dotted-continuation) . ,start)
1059 ;; Use the column given by the context. 1059 ;; Use the column given by the context.
1060 (goto-char start) 1060 (goto-char start)
@@ -2731,7 +2731,8 @@ variable.
2731 '(ansi-color-process-output 2731 '(ansi-color-process-output
2732 python-shell-comint-watch-for-first-prompt-output-filter 2732 python-shell-comint-watch-for-first-prompt-output-filter
2733 python-pdbtrack-comint-output-filter-function 2733 python-pdbtrack-comint-output-filter-function
2734 python-comint-postoutput-scroll-to-bottom)) 2734 python-comint-postoutput-scroll-to-bottom
2735 comint-watch-for-password-prompt))
2735 (set (make-local-variable 'compilation-error-regexp-alist) 2736 (set (make-local-variable 'compilation-error-regexp-alist)
2736 python-shell-compilation-regexp-alist) 2737 python-shell-compilation-regexp-alist)
2737 (add-hook 'completion-at-point-functions 2738 (add-hook 'completion-at-point-functions