diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index afb96974b17..e5c15d148f8 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -241,8 +241,8 @@ | |||
| 241 | ;; 2) Add the following hook in your .emacs: | 241 | ;; 2) Add the following hook in your .emacs: |
| 242 | 242 | ||
| 243 | ;; (add-hook 'python-mode-hook | 243 | ;; (add-hook 'python-mode-hook |
| 244 | ;; #'(lambda () | 244 | ;; (lambda () |
| 245 | ;; (define-key python-mode-map "\C-m" 'newline-and-indent))) | 245 | ;; (define-key python-mode-map "\C-m" 'newline-and-indent))) |
| 246 | 246 | ||
| 247 | ;; I'd recommend the first one since you'll get the same behavior for | 247 | ;; I'd recommend the first one since you'll get the same behavior for |
| 248 | ;; all modes out-of-the-box. | 248 | ;; all modes out-of-the-box. |
| @@ -3976,8 +3976,8 @@ Returns the tracked buffer." | |||
| 3976 | "Finish tracking." | 3976 | "Finish tracking." |
| 3977 | (python-pdbtrack-unset-tracked-buffer) | 3977 | (python-pdbtrack-unset-tracked-buffer) |
| 3978 | (when python-pdbtrack-kill-buffers | 3978 | (when python-pdbtrack-kill-buffers |
| 3979 | (mapc #'(lambda (buffer) | 3979 | (mapc (lambda (buffer) |
| 3980 | (ignore-errors (kill-buffer buffer))) | 3980 | (ignore-errors (kill-buffer buffer))) |
| 3981 | python-pdbtrack-buffers-to-kill)) | 3981 | python-pdbtrack-buffers-to-kill)) |
| 3982 | (setq python-pdbtrack-buffers-to-kill nil)) | 3982 | (setq python-pdbtrack-buffers-to-kill nil)) |
| 3983 | 3983 | ||