diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 0cbb8c186cc..a7851c54356 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2495,7 +2495,7 @@ with skeleton expansions for compound statement templates. | |||
| 2495 | ;; doesn't seem to work properly. | 2495 | ;; doesn't seem to work properly. |
| 2496 | (add-to-list 'hs-special-modes-alist | 2496 | (add-to-list 'hs-special-modes-alist |
| 2497 | `(python-mode "^\\s-*\\(?:def\\|class\\)\\>" nil "#" | 2497 | `(python-mode "^\\s-*\\(?:def\\|class\\)\\>" nil "#" |
| 2498 | ,(lambda (arg) | 2498 | ,(lambda (_arg) |
| 2499 | (python-end-of-defun) | 2499 | (python-end-of-defun) |
| 2500 | (skip-chars-backward " \t\n")) | 2500 | (skip-chars-backward " \t\n")) |
| 2501 | nil)) | 2501 | nil)) |
| @@ -2554,7 +2554,7 @@ Runs `jython-mode-hook' after `python-mode-hook'." | |||
| 2554 | (setq overlay-arrow-position nil | 2554 | (setq overlay-arrow-position nil |
| 2555 | python-pdbtrack-is-tracking-p nil))) | 2555 | python-pdbtrack-is-tracking-p nil))) |
| 2556 | 2556 | ||
| 2557 | (defun python-pdbtrack-track-stack-file (text) | 2557 | (defun python-pdbtrack-track-stack-file (_text) |
| 2558 | "Show the file indicated by the pdb stack entry line, in a separate window. | 2558 | "Show the file indicated by the pdb stack entry line, in a separate window. |
| 2559 | 2559 | ||
| 2560 | Activity is disabled if the buffer-local variable | 2560 | Activity is disabled if the buffer-local variable |
| @@ -2666,8 +2666,8 @@ problem." | |||
| 2666 | ) | 2666 | ) |
| 2667 | ) | 2667 | ) |
| 2668 | 2668 | ||
| 2669 | (defun python-pdbtrack-grub-for-buffer (funcname lineno) | 2669 | (defun python-pdbtrack-grub-for-buffer (funcname _lineno) |
| 2670 | "Find recent python-mode buffer named, or having function named funcname." | 2670 | "Find recent Python mode buffer named, or having function named FUNCNAME." |
| 2671 | (let ((buffers (buffer-list)) | 2671 | (let ((buffers (buffer-list)) |
| 2672 | buf | 2672 | buf |
| 2673 | got) | 2673 | got) |
| @@ -2725,7 +2725,7 @@ comint believe the user typed this string so that | |||
| 2725 | (interactive) | 2725 | (interactive) |
| 2726 | (python-pdbtrack-toggle-stack-tracking 0)) | 2726 | (python-pdbtrack-toggle-stack-tracking 0)) |
| 2727 | 2727 | ||
| 2728 | (defun python-sentinel (proc msg) | 2728 | (defun python-sentinel (_proc _msg) |
| 2729 | (setq overlay-arrow-position nil)) | 2729 | (setq overlay-arrow-position nil)) |
| 2730 | 2730 | ||
| 2731 | (provide 'python) | 2731 | (provide 'python) |