diff options
| author | Stefan Kangas | 2021-04-01 16:24:12 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2021-04-01 16:26:44 +0200 |
| commit | 4a538c4861370d629920b66a7cdcbb78ecb13830 (patch) | |
| tree | 6a62e7ed5c1def94ae207defff5f2eab280e2769 /lisp/progmodes/python.el | |
| parent | 8129998deb54c3621dd715c79694725c74630e67 (diff) | |
| download | emacs-4a538c4861370d629920b66a7cdcbb78ecb13830.tar.gz emacs-4a538c4861370d629920b66a7cdcbb78ecb13830.zip | |
Remove redundant #' before lambda in progmodes/*.el
* lisp/progmodes/cc-styles.el (c-set-offset):
* lisp/progmodes/ebnf-yac.el (ebnf-yac-token-table):
* lisp/progmodes/ebnf2ps.el (ebnf-format-float, ebnf-map-name):
* lisp/progmodes/grep.el (lgrep, rgrep-default-command):
* lisp/progmodes/inf-lisp.el:
* lisp/progmodes/octave.el (octave-lookfor):
* lisp/progmodes/python.el (python-pdbtrack-tracking-finish): Remove
redundant #' before lambda.
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 | ||